about summary refs log tree commit diff
path: root/sunrpc/rpc_svcout.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-07-26 14:33:52 -0700
committerRoland McGrath <roland@hack.frob.com>2012-07-26 14:35:05 -0700
commit9f98c16cfe10fd70fedd647b328adac1a9b38f78 (patch)
tree146de8d69bf62de29eaca2c33fa38febfd087c96 /sunrpc/rpc_svcout.c
parentf3c22df3c5d5dce995a485df23f2dd0bb89a66d5 (diff)
downloadglibc-9f98c16cfe10fd70fedd647b328adac1a9b38f78.tar.gz
glibc-9f98c16cfe10fd70fedd647b328adac1a9b38f78.tar.xz
glibc-9f98c16cfe10fd70fedd647b328adac1a9b38f78.zip
Fix some -Wformat warnings in rpcgen.
Diffstat (limited to 'sunrpc/rpc_svcout.c')
-rw-r--r--sunrpc/rpc_svcout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/rpc_svcout.c b/sunrpc/rpc_svcout.c
index be234aee8a..4f12a8146c 100644
--- a/sunrpc/rpc_svcout.c
+++ b/sunrpc/rpc_svcout.c
@@ -353,7 +353,7 @@ write_real_program (const definition * def)
 	      f_print (fout, " (");
 	      /* arg name */
 	      if (proc->arg_num > 1)
-		f_print (fout, proc->args.argname);
+		f_print (fout, "%s", proc->args.argname);
 	      else
 		ptype (proc->args.decls->decl.prefix,
 		       proc->args.decls->decl.type, 0);