diff options
author | Denys Vlasenko | 2013-11-29 16:43:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-11-29 16:43:33 +0100 |
commit | 9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (patch) | |
tree | a950fa73740d345e11ba1ce90f4fc39ee12516e6 /e2fsprogs/old_e2fsprogs/blkid/dev.c | |
parent | 1a7256ac38284caffd2a0de2250364369059be69 (diff) | |
download | busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.zip busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.gz |
fix assorted unused code and wrong format specs found by cppchekc (bug 6716)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/blkid/dev.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/blkid/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/blkid/dev.c b/e2fsprogs/old_e2fsprogs/blkid/dev.c index bb0cc91..260e49c 100644 --- a/e2fsprogs/old_e2fsprogs/blkid/dev.c +++ b/e2fsprogs/old_e2fsprogs/blkid/dev.c @@ -153,7 +153,7 @@ extern int optind; void usage(char *prog) { fprintf(stderr, "Usage: %s [-f blkid_file] [-m debug_mask]\n", prog); - fprintf(stderr, "\tList all devices and exit\n", prog); + fprintf(stderr, "\tList all devices and exit\n"); exit(1); } @@ -176,7 +176,7 @@ int main(int argc, char **argv) case 'm': blkid_debug_mask = strtoul (optarg, &tmp, 0); if (*tmp) { - fprintf(stderr, "Invalid debug mask: %d\n", + fprintf(stderr, "Invalid debug mask: %s\n", optarg); exit(1); } |