aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/chattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/chattr.c')
-rw-r--r--e2fsprogs/chattr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index c93e209b5..c37469021 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);