From: Glenn L McGrath Date: Fri, 29 Aug 2003 15:39:07 +0000 (-0000) Subject: Logic error, patch by Matteo Croce X-Git-Tag: 1_00_pre3~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21aacba2b7197aa01c2498984b2215049eecaa89;p=oweals%2Fbusybox.git Logic error, patch by Matteo Croce --- 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) {