summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-08-16 23:09:40 +0000
committerderaadt <deraadt@openbsd.org>2003-08-16 23:09:40 +0000
commit803d0303bf60a5f6d23a07574f8f92ccb453c411 (patch)
tree5eee2f37b9fbffc5af21ad7743edaa85e0ad7d54 /usr.bin/rpcgen
parentmissed suser. thanks naddy@ (diff)
downloadwireguard-openbsd-803d0303bf60a5f6d23a07574f8f92ccb453c411.tar.xz
wireguard-openbsd-803d0303bf60a5f6d23a07574f8f92ccb453c411.zip
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");