about summary refs log tree commit diff
path: root/sunrpc/rpc_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc_util.c')
-rw-r--r--sunrpc/rpc_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/rpc_util.c b/sunrpc/rpc_util.c
index a5fa727afe..fd696116c9 100644
--- a/sunrpc/rpc_util.c
+++ b/sunrpc/rpc_util.c
@@ -398,10 +398,10 @@ static const token tokstrings[] =
 static const char *
 toktostr (tok_kind kind)
 {
-  token *sp;
+  const token *sp;
 
   for (sp = tokstrings; sp->kind != TOK_EOF && sp->kind != kind; sp++);
-  return (sp->str);
+  return sp->str;
 }
 
 static void