]> err.no Git - util-linux/commitdiff
mount: drop the part always true from a while condition
authorPascal Terjan <pterjan@cmoi.fasmz.org>
Thu, 15 Nov 2007 18:26:18 +0000 (19:26 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Nov 2007 11:56:27 +0000 (12:56 +0100)
Signed-off-by: Pascal Terjan <pterjan@linuxfr.org>
mount/mount.c

index 7a6ae004a95a225cb6b27a74dfc2e1d4b37dbbc2..4d2fefbbd5cfad412a2c5d1f4bf0ec9ed60baff0 100644 (file)
@@ -658,7 +658,7 @@ check_special_mountprog(const char *spec, const char *node, const char *type, in
 
                 if (verbose > 2) {
                        i = 0;
-                       while(verbose > 2 && mountargs[i]) {
+                       while(mountargs[i]) {
                                printf("mount: external mount: argv[%d] = \"%s\"\n",
                                        i, mountargs[i]);
                                i++;