summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-21 22:02:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-21 22:02:53 +0000
commitfaa965af0f78800f3268c4f1d22db78f9cc54f8f (patch)
tree1f90eb6b1f96f8b532fbdaa3b82a40b9eea30158 /usr.bin/rpcgen
parenta2719c9f15fff1422374255d205d80282629b363 (diff)
give actual cpp name that failed; obrien
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c
index ce756a3ca3e..5eb944c0adf 100644
--- a/usr.bin/rpcgen/rpc_main.c
+++ b/usr.bin/rpcgen/rpc_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_main.c,v 1.4 1999/12/04 21:58:31 deraadt Exp $ */
+/* $OpenBSD: rpc_main.c,v 1.5 2001/01/21 22:02:52 deraadt Exp $ */
/* $NetBSD: rpc_main.c,v 1.9 1996/02/19 11:12:43 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -32,7 +32,7 @@
#ifndef lint
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
-static char cvsid[] = "$OpenBSD: rpc_main.c,v 1.4 1999/12/04 21:58:31 deraadt Exp $";
+static char cvsid[] = "$OpenBSD: rpc_main.c,v 1.5 2001/01/21 22:02:52 deraadt Exp $";
#endif
/*
@@ -304,7 +304,7 @@ static void find_cpp()
} else { /* try the other one */
CPP = SUNOS_CPP;
if( stat( CPP, &buf ) < 0 ) { /* can't find any cpp */
- fprintf( stderr, "cannot find any C preprocessor (cpp)\n" );
+ fprintf( stderr, "cannot find any C preprocessor: %s\n", CPP );
crash();
}
}