aboutsummaryrefslogtreecommitdiff
path: root/nis/nis_table.c
diff options
context:
space:
mode:
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;