aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
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)
479 struct fs_info *fs; 479 struct fs_info *fs;
480 480
481 if ((f = fopen(filename, "r")) == NULL) { 481 if ((f = fopen(filename, "r")) == NULL) {
482 bb_perror_msg("WARNING: couldn't open %s", filename); 482 bb_perror_msg("WARNING: cannot open %s", filename);
483 return; 483 return;
484 } 484 }
485 while (!feof(f)) { 485 while (!feof(f)) {
@@ -717,7 +717,7 @@ static struct fsck_instance *wait_one(int flags)
717 if ((errno == EINTR) || (errno == EAGAIN)) 717 if ((errno == EINTR) || (errno == EAGAIN))
718 continue; 718 continue;
719 if (errno == ECHILD) { 719 if (errno == ECHILD) {
720 bb_error_msg("wait: No more child process?!?"); 720 bb_error_msg("wait: no more child process?!?");
721 return NULL; 721 return NULL;
722 } 722 }
723 perror("wait"); 723 perror("wait");
@@ -840,7 +840,7 @@ static void fsck_device(struct fs_info *fs, int interactive)
840 num_running++; 840 num_running++;
841 retval = execute(type, fs->device, fs->mountpt, interactive); 841 retval = execute(type, fs->device, fs->mountpt, interactive);
842 if (retval) { 842 if (retval) {
843 bb_error_msg("Error %d while executing fsck.%s for %s", 843 bb_error_msg("error %d while executing fsck.%s for %s",
844 retval, type, fs->device); 844 retval, type, fs->device);
845 num_running--; 845 num_running--;
846 } 846 }
@@ -1208,8 +1208,8 @@ static void PRS(int argc, char *argv[])
1208 * /proc/partitions isn't found. 1208 * /proc/partitions isn't found.
1209 */ 1209 */
1210 if (access("/proc/partitions", R_OK) < 0) { 1210 if (access("/proc/partitions", R_OK) < 0) {
1211 bb_error_msg_and_die("Couldn't open /proc/partitions: %m\n" 1211 bb_perror_msg_and_die("cannot open /proc/partitions "
1212 "Is /proc mounted?"); 1212 "(is /proc mounted?)");
1213 } 1213 }
1214 /* 1214 /*
1215 * Check to see if this is because 1215 * Check to see if this is because
@@ -1217,10 +1217,10 @@ static void PRS(int argc, char *argv[])
1217 */ 1217 */
1218 if (geteuid()) 1218 if (geteuid())
1219 bb_error_msg_and_die( 1219 bb_error_msg_and_die(
1220 "Must be root to scan for matching filesystems: %s\n", arg); 1220 "must be root to scan for matching filesystems: %s\n", arg);
1221 else 1221 else
1222 bb_error_msg_and_die( 1222 bb_error_msg_and_die(
1223 "Couldn't find matching filesystem: %s", arg); 1223 "cannot find matching filesystem: %s", arg);
1224 } 1224 }
1225 devices[num_devices++] = dev ? dev : string_copy(arg); 1225 devices[num_devices++] = dev ? dev : string_copy(arg);
1226 continue; 1226 continue;