diff options
author | Glenn L McGrath | 2003-08-29 15:39:07 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-08-29 15:39:07 +0000 |
commit | 21aacba2b7197aa01c2498984b2215049eecaa89 (patch) | |
tree | 159336b460b7a85420c9e9cd0af0ae00714a9900 /util-linux/fdformat.c | |
parent | 8ce8f9b482643689b31783b631a41caaa2275778 (diff) | |
download | busybox-21aacba2b7197aa01c2498984b2215049eecaa89.zip busybox-21aacba2b7197aa01c2498984b2215049eecaa89.tar.gz |
Logic error, patch by Matteo Croce
Diffstat (limited to 'util-linux/fdformat.c')
-rw-r--r-- | util-linux/fdformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 5b92646..d94c6a6 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c @@ -130,7 +130,7 @@ int fdformat_main(int argc,char **argv) if (argc < 2) { bb_show_usage(); } - verify != bb_getopt_ulflags(argc, argv, "n"); + verify = !bb_getopt_ulflags(argc, argv, "n"); argv += optind; if (stat(*argv,&st) < 0 || access(*argv,W_OK) < 0) { |