diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-10 04:22:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-10 04:22:47 +0000 |
commit | d9055e0f9213783179ed4810af82f3dc92fb5ce8 (patch) | |
tree | 8d6c7280bb9147ff43750ec7409e487fcdbdbe3a /sbin | |
parent | 87ea4b1d043156bf2f7a4a44e97cc93ae69fcbbd (diff) |
ignore -q for now since we are already quiet. Makes "newfs -q -t msdos" does not generate an error
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index e59f120debb..2cd746a94b3 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs_msdos.c,v 1.8 1997/04/30 13:51:51 deraadt Exp $ */ +/* $OpenBSD: newfs_msdos.c,v 1.9 1999/04/10 04:22:46 millert Exp $ */ /* * Copyright (c) 1995, 1996 Joerg Wunsch @@ -221,7 +221,7 @@ main(argc, argv) int c, i, fd, format = 0, rootdirsize; char *rdev; - while ((c = getopt(argc, argv, "s:L:t:")) != -1) + while ((c = getopt(argc, argv, "qs:L:t:")) != -1) switch (c) { case 's': format = atoi(optarg); @@ -230,6 +230,7 @@ main(argc, argv) label = optarg; break; case 't': /* compat with "-t fstype" in newfs */ + case 'q': /* compat with "-q" in newfs */ break; case '?': default: |