+2001-05-20 Theodore Tso <tytso@valinux.com>
+
+ * fsck.c: Make sure all exit status codes returned by fsck are
+ consistent with the error codes documented in the fsck man
+ page.
+
2001-05-14 Theodore Tso <tytso@valinux.com>
* badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c,
fprintf(stderr, "Couldn't open /proc/partitions: %s\n",
strerror(errno));
fprintf(stderr, "Is /proc mounted?\n");
- exit(1);
+ exit(EXIT_ERROR);
}
/*
* Check to see if this is because we're not running as root
else
fprintf(stderr, "Couldn't find matching filesystem: %s\n",
spec);
- exit(1);
+ exit(EXIT_ERROR);
}
/*
if (num_devices >= MAX_DEVICES) {
fprintf(stderr, _("%s: too many devices\n"),
progname);
- exit(1);
+ exit(EXIT_ERROR);
}
devices[num_devices++] =
interpret_device(string_copy(arg));
if (num_args >= MAX_ARGS) {
fprintf(stderr, _("%s: too many arguments\n"),
progname);
- exit(1);
+ exit(EXIT_ERROR);
}
args[num_args++] = string_copy(arg);
continue;
fprintf(stderr,
_("%s: too many arguments\n"),
progname);
- exit(1);
+ exit(EXIT_ERROR);
}
args[num_args++] = string_copy(options);
opt = 0;