From 21aacba2b7197aa01c2498984b2215049eecaa89 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 29 Aug 2003 15:39:07 +0000 Subject: Logic error, patch by Matteo Croce --- util-linux/fdformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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) { -- cgit v1.2.3