diff options
author | Ben Laurie <benl@FreeBSD.org> | 2011-05-18 20:52:52 +0000 |
---|---|---|
committer | Ben Laurie <benl@FreeBSD.org> | 2011-05-18 20:52:52 +0000 |
commit | 9bde021a87c14ad5f680d8427e0f124325091f42 (patch) | |
tree | b6895c901f31bf8c63d94a2fce56f73795d18631 /usr.bin/rpcgen/rpc_svcout.c | |
parent | 098c92cc133163a010706c98aa97e782d2c65828 (diff) | |
download | src-test2-9bde021a87c14ad5f680d8427e0f124325091f42.tar.gz src-test2-9bde021a87c14ad5f680d8427e0f124325091f42.zip |
Fix clang warnings.
Note: these were actually bugs (printf with no format string).
Approved by: philip (mentor)
Notes
Notes:
svn path=/head/; revision=222080
Diffstat (limited to 'usr.bin/rpcgen/rpc_svcout.c')
-rw-r--r-- | usr.bin/rpcgen/rpc_svcout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c index 40fc61cb9ec4..122408b720fc 100644 --- a/usr.bin/rpcgen/rpc_svcout.c +++ b/usr.bin/rpcgen/rpc_svcout.c @@ -349,7 +349,7 @@ write_real_program(definition *def) f_print(fout, "("); /* arg name */ if (proc->arg_num > 1) - f_print(fout, proc->args.argname); + fputs(proc->args.argname, fout); else ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 0); |