aboutsummaryrefslogtreecommitdiff
path: root/nis/nis_table.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-27 03:13:50 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-27 03:13:50 +0000
commitd00002ed88bb071d24f6e54b7ae6c77aca9bcc6b (patch)
tree1faec9ff68a6a2d9a9ddccca67ae7b545116fa76 /nis/nis_table.c
parent3218d55b950ccb1e6422cb6abf6fd4a780170e43 (diff)
downloadglibc-d00002ed88bb071d24f6e54b7ae6c77aca9bcc6b.zip
glibc-d00002ed88bb071d24f6e54b7ae6c77aca9bcc6b.tar.gz
glibc-d00002ed88bb071d24f6e54b7ae6c77aca9bcc6b.tar.bz2
* nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty
printing.
Diffstat (limited to 'nis/nis_table.c')
-rw-r--r--nis/nis_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_table.c b/nis/nis_table.c
index 27efd51..abe47d0 100644
--- a/nis/nis_table.c
+++ b/nis/nis_table.c
@@ -137,7 +137,7 @@ __get_tablepath (char *name, dir_binding *bptr)
(caddr_t) &req, (xdrproc_t) _xdr_nis_result,
(caddr_t) &res, RPCTIMEOUT);
- char *cptr;
+ const char *cptr;
if (result == RPC_SUCCESS && NIS_RES_STATUS (&res) == NIS_SUCCESS
&& __type_of (NIS_RES_OBJECT (&res)) == NIS_TABLE_OBJ)
cptr = NIS_RES_OBJECT (&res)->TA_data.ta_path;