Module Name: src
Committed By: dholland
Date: Sat May 9 22:58:22 UTC 2015
Modified Files:
src/usr.bin/rpcgen: rpc_main.c
Log Message:
#if 0 code should still compile :-)
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/rpcgen/rpc_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/rpcgen/rpc_main.c
diff -u src/usr.bin/rpcgen/rpc_main.c:1.40 src/usr.bin/rpcgen/rpc_main.c:1.41
--- src/usr.bin/rpcgen/rpc_main.c:1.40 Sat May 9 21:44:47 2015
+++ src/usr.bin/rpcgen/rpc_main.c Sat May 9 22:58:22 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_main.c,v 1.40 2015/05/09 21:44:47 christos Exp $ */
+/* $NetBSD: rpc_main.c,v 1.41 2015/05/09 22:58:22 dholland Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_main.c,v 1.40 2015/05/09 21:44:47 christos Exp $");
+__RCSID("$NetBSD: rpc_main.c,v 1.41 2015/05/09 22:58:22 dholland Exp $");
#endif
#endif
@@ -870,7 +870,8 @@ checkfiles(const char *infile, const cha
if (stat(outfile, &buf) < 0)
return; /* file does not exist */
else {
- errx("`%s' already exists and may be overwritten",
+ errx(EXIT_FAILURE,
+ "`%s' already exists and may be overwritten",
outfile);
}
}