From faa965af0f78800f3268c4f1d22db78f9cc54f8f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 21 Jan 2001 22:02:53 +0000 Subject: give actual cpp name that failed; obrien --- usr.bin/rpcgen/rpc_main.c | 6 +++--- 1 file 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(); } } -- cgit v1.2.3