summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-16 23:09:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-16 23:09:41 +0000
commit12d7e98b5f6975239996b1e29c855f3fd050fcd8 (patch)
tree7259671ceb327d20bf870d1ed730cc5187fb85af /usr.bin/rpcgen
parenta8fa472f01cc66f8cb978a07a415d4918fa8c6ed (diff)
missing comma in non-ansi mode; spotted by pvalchev
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_svcout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c
index 592e365a006..8962ca2fd39 100644
--- a/usr.bin/rpcgen/rpc_svcout.c
+++ b/usr.bin/rpcgen/rpc_svcout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_svcout.c,v 1.20 2003/08/06 21:08:07 millert Exp $ */
+/* $OpenBSD: rpc_svcout.c,v 1.21 2003/08/16 23:09:40 deraadt Exp $ */
/* $NetBSD: rpc_svcout.c,v 1.7 1995/06/24 14:59:59 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -361,7 +361,7 @@ write_program(def, storage)
fprintf(fout, "(struct svc_req *%s, ", RQSTP);
fprintf(fout, "SVCXPRT *%s);\n", TRANSP);
} else {
- fprintf(fout, "()\n");
+ fprintf(fout, "();\n");
}
fprintf(fout, "\n");