diff options
author | pst <pst@FreeBSD.org> | 1996-02-19 05:57:22 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-02-19 05:57:22 +0000 |
commit | fc5a005b5bf134ac86b3840476303168cebe5550 (patch) | |
tree | d14cd14a6470ce36759d4c55aa41f63b88f384e4 /bin/rm/rm.c | |
parent | 3695a083f53a8d5b73241fb695897632e99edb79 (diff) | |
download | FreeBSD-src-fc5a005b5bf134ac86b3840476303168cebe5550.zip FreeBSD-src-fc5a005b5bf134ac86b3840476303168cebe5550.tar.gz |
Don't initialize udata, fix usage string
Diffstat (limited to 'bin/rm/rm.c')
-rw-r--r-- | bin/rm/rm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index ffe5655..fd3dd0c 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: rm.c,v 1.6 1995/04/13 13:35:09 ache Exp $ + * $Id: rm.c,v 1.9 1996/02/19 00:44:02 wosch Exp $ */ #ifndef lint @@ -81,7 +81,7 @@ main(argc, argv) { int ch, rflag; - Pflag = rflag = 0; + rflag = 0; while ((ch = getopt(argc, argv, "dfiPRr")) != EOF) switch(ch) { case 'd': @@ -102,7 +102,6 @@ main(argc, argv) case 'r': /* Compatibility. */ rflag = 1; break; - case '?': default: usage(); } @@ -410,6 +409,6 @@ void usage() { - (void)fprintf(stderr, "usage: rm [-dfiRr] file ...\n"); + (void)fprintf(stderr, "usage: rm [-dfiPRr] file ...\n"); exit(1); } |