summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-02-19 05:57:22 +0000
committerpst <pst@FreeBSD.org>1996-02-19 05:57:22 +0000
commitfc5a005b5bf134ac86b3840476303168cebe5550 (patch)
treed14cd14a6470ce36759d4c55aa41f63b88f384e4 /bin
parent3695a083f53a8d5b73241fb695897632e99edb79 (diff)
downloadFreeBSD-src-fc5a005b5bf134ac86b3840476303168cebe5550.zip
FreeBSD-src-fc5a005b5bf134ac86b3840476303168cebe5550.tar.gz
Don't initialize udata, fix usage string
Diffstat (limited to 'bin')
-rw-r--r--bin/rm/rm.c7
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);
}
OpenPOWER on IntegriCloud