]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/isosize.c
Imported from util-linux-2.11o tarball.
[thirdparty/util-linux.git] / disk-utils / isosize.c
index bff45d923b4c2e50c4f96df3e9f4ea12bfbc9239..005077a83018d5327c95ebef45d0081f3426a476 100644 (file)
@@ -184,7 +184,7 @@ main(int argc, char * argv[]) {
                int opt;
 
                opt = getopt(argc, argv, "xd:");
-               if (opt < 0)
+               if (opt == -1)
                        break;
                switch (opt) {
                case 'd':