Whamcloud - gitweb
debugfs: handle 64bit block numbers
[tools/e2fsprogs.git] / debugfs / util.c
index cf3a6c6..09088e0 100644 (file)
@@ -377,7 +377,7 @@ int common_block_args_process(int argc, char *argv[],
        }
 
        if (argc > 2) {
-               *count = parse_ulong(argv[2], argv[0], "count", &err);
+               err = strtoblk(argv[0], argv[2], count);
                if (err)
                        return 1;
        }