summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen/rpc_svcout.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_svcout.c
parent7a90d5732b29d7724f332d8639860539b423c9cd (diff)
Fix a couple of printf().
Diffstat (limited to 'usr.bin/rpcgen/rpc_svcout.c')
-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 2c4b6259bde..5e11637e87c 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.6 2001/11/07 18:44:28 deraadt Exp $ */
+/* $OpenBSD: rpc_svcout.c,v 1.7 2001/11/24 17:59:22 miod 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
@@ -168,7 +168,7 @@ write_netid_register(transp)
f_print(fout, "%s\t\texit(1);\n", sp);
f_print(fout, "%s\t}\n", sp);
f_print(fout, "%s\t%s = svc_tli_create(RPC_ANYFD, nconf, 0, 0, 0);\n",
- sp, TRANSP, transp);
+ sp, TRANSP);
f_print(fout, "%s\tif (%s == NULL) {\n", sp, TRANSP);
(void) sprintf(_errbuf, "cannot create %s service.", transp);
print_err_message(tmpbuf);