aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chmod.c2
-rw-r--r--coreutils/install.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index 9c1c76047..c04201eec 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -50,7 +50,7 @@ static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void
newmode = statbuf->st_mode;
if (!bb_parse_mode((char *)param, &newmode))
- bb_error_msg_and_die("invalid mode: %s", (char *)param);
+ bb_error_msg_and_die("invalid mode '%s'", (char *)param);
if (chmod(fileName, newmode) == 0) {
if (OPT_VERBOSE
diff --git a/coreutils/install.c b/coreutils/install.c
index 803afe617..ab9feffaf 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -50,7 +50,7 @@ static void setdefaultfilecon(const char *path)
if (lsetfilecon(path, scontext) < 0) {
if (errno != ENOTSUP) {
- bb_perror_msg("warning: failed to change context"
+ bb_perror_msg("warning: can't change context"
" of %s to %s", path, scontext);
}
}