summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorMike Frysinger2005-06-17 02:13:57 +0000
committerMike Frysinger2005-06-17 02:13:57 +0000
commitdf1eda82b90d1c179b34d27f2825264efed10045 (patch)
treed691add343ce0c7917ace4bb47ffa104edd03b35 /e2fsprogs
parentd0615ae73a42016fe573073fac9da0d3fb865d80 (diff)
downloadbusybox-df1eda82b90d1c179b34d27f2825264efed10045.zip
busybox-df1eda82b90d1c179b34d27f2825264efed10045.tar.gz
Tito says: unify verbose/quiet flags
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/mke2fs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/e2fsprogs/mke2fs.c b/e2fsprogs/mke2fs.c
index 88b469a..8d4ee73 100644
--- a/e2fsprogs/mke2fs.c
+++ b/e2fsprogs/mke2fs.c
@@ -46,7 +46,6 @@ static const char * device_name /* = NULL */;
/* Command line options */
static int cflag;
-static int verbose;
static int quiet;
static int super_only;
static int force;
@@ -223,7 +222,7 @@ static void test_disk(ext2_filsys fs, badblocks_list *bb_list)
sprintf(buf, "badblocks -b %d %s%s%s %d", fs->blocksize,
quiet ? "" : "-s ", (cflag > 1) ? "-w " : "",
fs->device_name, fs->super->s_blocks_count);
- if (verbose)
+ if (!quiet)
printf(_("Running command: %s\n"), buf);
f = popen(buf, "r");
if (!f) {
@@ -981,7 +980,7 @@ static void PRS(int argc, char *argv[])
num_inodes = atoi(optarg);
break;
case 'v':
- verbose = 1;
+ quiet = 0;
break;
case 'q':
quiet = 1;