diff options
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/chattr.c | 6 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index c93e209..c374690 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c @@ -196,11 +196,11 @@ int chattr_main(int argc UNUSED_PARAM, char **argv) /* run sanity checks on all the arguments given us */ if ((g.flags & OPT_SET) && (g.flags & (OPT_ADD|OPT_REM))) - bb_error_msg_and_die("= is incompatible with - and +"); + bb_simple_error_msg_and_die("= is incompatible with - and +"); if (g.rf & g.af) - bb_error_msg_and_die("can't set and unset a flag"); + bb_simple_error_msg_and_die("can't set and unset a flag"); if (!g.flags) - bb_error_msg_and_die("must use '-v', =, - or +"); + bb_simple_error_msg_and_die("must use '-v', =, - or +"); /* now run chattr on all the files passed to us */ do change_attributes(*argv, &g); while (*++argv); diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 8a14b3b..fc53a90 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -431,10 +431,10 @@ static int wait_one(int flags) if (errno == EINTR) continue; if (errno == ECHILD) { /* paranoia */ - bb_error_msg("wait: no more children"); + bb_simple_error_msg("wait: no more children"); return -1; } - bb_perror_msg("wait"); + bb_simple_perror_msg("wait"); continue; } prev = NULL; @@ -919,7 +919,7 @@ static void compile_fs_type(char *fs_type) if (G.fs_type_negated == -1) G.fs_type_negated = negate; if (G.fs_type_negated != negate) - bb_error_msg_and_die( + bb_simple_error_msg_and_die( "either all or none of the filesystem types passed to -t must be prefixed " "with 'no' or '!'"); } |