From d00002ed88bb071d24f6e54b7ae6c77aca9bcc6b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 27 Nov 2005 03:13:50 +0000 Subject: * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty printing. --- nis/nis_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nis/nis_table.c') diff --git a/nis/nis_table.c b/nis/nis_table.c index 27efd5181a..abe47d09c1 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; -- cgit v1.2.3