Logic error, patch by Matteo Croce
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 15:39:07 +0000 (15:39 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 15:39:07 +0000 (15:39 -0000)
util-linux/fdformat.c

index 5b926467f915fc172fa175c27236bb574503d4ed..d94c6a62b18616995ca2bc04866659fd6f9ca3a9 100644 (file)
@@ -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) {