From e9adfbcaf16f3287027630e6f8926cbf5195af9f Mon Sep 17 00:00:00 2001 From: Mike Pechkin Date: Thu, 6 Sep 2001 13:29:09 +0000 Subject: o) __progname aria; millert@ ok. --- bin/rm/rm.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin/rm/rm.c') diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 327a29e781a..b5f763c201f 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rm.c,v 1.10 2001/06/08 13:40:20 millert Exp $ */ +/* $OpenBSD: rm.c,v 1.11 2001/09/06 13:29:08 mpech Exp $ */ /* $NetBSD: rm.c,v 1.19 1995/09/07 06:48:50 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rm.c 8.8 (Berkeley) 4/27/95"; #else -static char rcsid[] = "$OpenBSD: rm.c,v 1.10 2001/06/08 13:40:20 millert Exp $"; +static char rcsid[] = "$OpenBSD: rm.c,v 1.11 2001/09/06 13:29:08 mpech Exp $"; #endif #endif /* not lint */ @@ -65,6 +65,8 @@ static char rcsid[] = "$OpenBSD: rm.c,v 1.10 2001/06/08 13:40:20 millert Exp $"; #include #include +extern char *__progname; + int dflag, eval, fflag, iflag, Pflag, Wflag, stdin_ok; int check __P((char *, char *, struct stat *)); @@ -437,7 +439,6 @@ checkdot(argv) void usage() { - - (void)fprintf(stderr, "usage: rm [-dfiPRrW] file ...\n"); + (void)fprintf(stderr, "usage: %s [-dfiPRrW] file ...\n", __progname); exit(1); } -- cgit v1.2.3