aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:30:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:30:43 +0000
commita959588b80529ef5e02048ed71f3c7bf9a117217 (patch)
tree331b3963cb98fded02b753ca33bfa37cb48a97c6 /e2fsprogs/fsck.c
parent6c30db8bd37da1466dc71bf3c8c20851d8f46c43 (diff)
downloadbusybox-a959588b80529ef5e02048ed71f3c7bf9a117217.tar.gz
Yet another silly little byte saving. couldn't -> cannot
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r--e2fsprogs/fsck.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 99ffed1c5..e2f600329 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -479,7 +479,7 @@ static void load_fs_info(const char *filename)
struct fs_info *fs;
if ((f = fopen(filename, "r")) == NULL) {
- bb_perror_msg("WARNING: couldn't open %s", filename);
+ bb_perror_msg("WARNING: cannot open %s", filename);
return;
}
while (!feof(f)) {
@@ -717,7 +717,7 @@ static struct fsck_instance *wait_one(int flags)
if ((errno == EINTR) || (errno == EAGAIN))
continue;
if (errno == ECHILD) {
- bb_error_msg("wait: No more child process?!?");
+ bb_error_msg("wait: no more child process?!?");
return NULL;
}
perror("wait");
@@ -840,7 +840,7 @@ static void fsck_device(struct fs_info *fs, int interactive)
num_running++;
retval = execute(type, fs->device, fs->mountpt, interactive);
if (retval) {
- bb_error_msg("Error %d while executing fsck.%s for %s",
+ bb_error_msg("error %d while executing fsck.%s for %s",
retval, type, fs->device);
num_running--;
}
@@ -1208,8 +1208,8 @@ static void PRS(int argc, char *argv[])
* /proc/partitions isn't found.
*/
if (access("/proc/partitions", R_OK) < 0) {
- bb_error_msg_and_die("Couldn't open /proc/partitions: %m\n"
- "Is /proc mounted?");
+ bb_perror_msg_and_die("cannot open /proc/partitions "
+ "(is /proc mounted?)");
}
/*
* Check to see if this is because
@@ -1217,10 +1217,10 @@ static void PRS(int argc, char *argv[])
*/
if (geteuid())
bb_error_msg_and_die(
- "Must be root to scan for matching filesystems: %s\n", arg);
+ "must be root to scan for matching filesystems: %s\n", arg);
else
bb_error_msg_and_die(
- "Couldn't find matching filesystem: %s", arg);
+ "cannot find matching filesystem: %s", arg);
}
devices[num_devices++] = dev ? dev : string_copy(arg);
continue;