diff options
author | benl <benl@FreeBSD.org> | 2011-05-18 20:52:52 +0000 |
---|---|---|
committer | benl <benl@FreeBSD.org> | 2011-05-18 20:52:52 +0000 |
commit | 2f470acfb599f3f99ff62a16d7c80e66be3fb291 (patch) | |
tree | b6895c901f31bf8c63d94a2fce56f73795d18631 /usr.bin/rpcgen/rpc_tblout.c | |
parent | c284bd0acca4fe2b124844c65d42fe0bfb8f2656 (diff) | |
download | FreeBSD-src-2f470acfb599f3f99ff62a16d7c80e66be3fb291.zip FreeBSD-src-2f470acfb599f3f99ff62a16d7c80e66be3fb291.tar.gz |
Fix clang warnings.
Note: these were actually bugs (printf with no format string).
Approved by: philip (mentor)
Diffstat (limited to 'usr.bin/rpcgen/rpc_tblout.c')
-rw-r--r-- | usr.bin/rpcgen/rpc_tblout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_tblout.c b/usr.bin/rpcgen/rpc_tblout.c index f96bdfc..618d1f9 100644 --- a/usr.bin/rpcgen/rpc_tblout.c +++ b/usr.bin/rpcgen/rpc_tblout.c @@ -103,7 +103,7 @@ write_table(definition *def) expected = 0; } else { expected = 1; - f_print(fout, null_entry); + fputs(null_entry, fout); } for (proc = vp->procs; proc != NULL; proc = proc->next) { current = atoi(proc->proc_num); @@ -141,7 +141,7 @@ write_table(definition *def) } /* print the table trailer */ - f_print(fout, tbl_end); + fputs(tbl_end, fout); f_print(fout, tbl_nproc, progvers, progvers, progvers); } } |