diff --git a/usr.bin/rpcgen/rpc_sample.c b/usr.bin/rpcgen/rpc_sample.c index 6b1da836a9ff..3ba4f4c95f31 100644 --- a/usr.bin/rpcgen/rpc_sample.c +++ b/usr.bin/rpcgen/rpc_sample.c @@ -1,4 +1,4 @@ -/* $NetBSD: rpc_sample.c,v 1.10 2004/06/20 22:20:16 jmc Exp $ */ +/* $NetBSD: rpc_sample.c,v 1.11 2004/07/06 07:07:15 mycroft Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI"; #else -__RCSID("$NetBSD: rpc_sample.c,v 1.10 2004/06/20 22:20:16 jmc Exp $"); +__RCSID("$NetBSD: rpc_sample.c,v 1.11 2004/07/06 07:07:15 mycroft Exp $"); #endif #endif @@ -207,10 +207,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, "result", RQSTP, "struct svc_req *"); f_print(fout, "{\n");