summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-15 22:10:53 +0000
committerderaadt <deraadt@openbsd.org>1997-11-15 22:10:53 +0000
commit9c7697cce1b2346e73c0393c716d052109a7eee9 (patch)
tree9856049f34857c93d7409302a75f75afa1f71b4f
parentspelling (diff)
downloadwireguard-openbsd-9c7697cce1b2346e73c0393c716d052109a7eee9.tar.xz
wireguard-openbsd-9c7697cce1b2346e73c0393c716d052109a7eee9.zip
make -Ss code correct; ghudson@mit.edu
-rw-r--r--usr.bin/rpcgen/rpc_sample.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/rpcgen/rpc_sample.c b/usr.bin/rpcgen/rpc_sample.c
index 1d4d3ffe8d6..3f4ca36a1d0 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.2 1996/06/26 05:38:38 deraadt Exp $ */
+/* $OpenBSD: rpc_sample.c,v 1.3 1997/11/15 22:10:53 deraadt 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
@@ -179,10 +179,7 @@ write_sample_server(def)
*/
return_type(proc);
f_print(fout, "* \n");
- if( Cflag )
- pvname_svc(proc->proc_name, vp->vers_num);
- else
- pvname(proc->proc_name, vp->vers_num);
+ pvname_svc(proc->proc_name, vp->vers_num);
printarglist( proc, RQSTP, "struct svc_req *" );
f_print(fout, "{\n");