summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen/rpc_sample.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-11-24 17:59:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-11-24 17:59:23 +0000
commitb9d6d2d907baad57baed79a846ad2ceae3cf9e3a (patch)
tree7b0372c2e8231cde0a453dc83b2e373f2a0012eb /usr.bin/rpcgen/rpc_sample.c
parent7a90d5732b29d7724f332d8639860539b423c9cd (diff)
Fix a couple of printf().
Diffstat (limited to 'usr.bin/rpcgen/rpc_sample.c')
-rw-r--r--usr.bin/rpcgen/rpc_sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_sample.c b/usr.bin/rpcgen/rpc_sample.c
index 6fedae8df6e..ce5201e8ce9 100644
--- a/usr.bin/rpcgen/rpc_sample.c
+++ b/usr.bin/rpcgen/rpc_sample.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_sample.c,v 1.6 2001/11/07 18:44:28 deraadt Exp $ */
+/* $OpenBSD: rpc_sample.c,v 1.7 2001/11/24 17:59:22 miod Exp $ */
/* $NetBSD: rpc_sample.c,v 1.2 1995/06/11 21:50:01 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -188,7 +188,7 @@ write_sample_server(def)
return_type(proc);
else
f_print(fout, "char*" ); /* cannot have void type */
- f_print(fout, " result;\n", proc->res_type);
+ f_print(fout, " result;\n");
f_print(fout,
"\n\t/*\n\t * insert server code here\n\t */\n\n");
if( !streq( proc->res_type, "void") )