aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 15:39:07 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 15:39:07 +0000
commit21aacba2b7197aa01c2498984b2215049eecaa89 (patch)
tree159336b460b7a85420c9e9cd0af0ae00714a9900
parent8ce8f9b482643689b31783b631a41caaa2275778 (diff)
downloadbusybox-21aacba2b7197aa01c2498984b2215049eecaa89.tar.gz
Logic error, patch by Matteo Croce
-rw-r--r--util-linux/fdformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c
index 5b926467f..d94c6a62b 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) {