summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_svcout.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-02 18:20:47 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-02 18:20:47 +0000
commit64cdbc5d0600542c8b9ef1f659d854f6aea90f3b (patch)
tree5091522ae06d298c0a70cb1a8ef6c7f44cea3e64 /usr.bin/rpcgen/rpc_svcout.c
parentd8570c33a37c99e8f8414cfd741dc6d6ecefc631 (diff)
downloadFreeBSD-src-64cdbc5d0600542c8b9ef1f659d854f6aea90f3b.zip
FreeBSD-src-64cdbc5d0600542c8b9ef1f659d854f6aea90f3b.tar.gz
Fix a syntax error in the generated code when invoked with -P. Note that
the generated code still doesn't compile as we lack tinfo, t_getinfo and friends.
Diffstat (limited to 'usr.bin/rpcgen/rpc_svcout.c')
-rw-r--r--usr.bin/rpcgen/rpc_svcout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c
index 82cf5f3..bbf1dd8 100644
--- a/usr.bin/rpcgen/rpc_svcout.c
+++ b/usr.bin/rpcgen/rpc_svcout.c
@@ -810,7 +810,6 @@ write_pm_most(infile, netflag)
f_print(fout, "\t\t(!strcmp(mname, \"sockmod\") ||");
f_print(fout, " !strcmp(mname, \"timod\"))) {\n");
}
- f_print(fout, " !strcmp(mname, \"timod\"))) {\n");
f_print(fout, "\t\tchar *netid;\n");
if (!netflag) { /* Not included by -n option */
f_print(fout, "\t\tstruct netconfig *nconf = NULL;\n");
OpenPOWER on IntegriCloud