diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/chmod.c | 2 | ||||
-rw-r--r-- | coreutils/install.c | 2 |
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 | |||
50 | newmode = statbuf->st_mode; | 50 | newmode = statbuf->st_mode; |
51 | 51 | ||
52 | if (!bb_parse_mode((char *)param, &newmode)) | 52 | if (!bb_parse_mode((char *)param, &newmode)) |
53 | bb_error_msg_and_die("invalid mode: %s", (char *)param); | 53 | bb_error_msg_and_die("invalid mode '%s'", (char *)param); |
54 | 54 | ||
55 | if (chmod(fileName, newmode) == 0) { | 55 | if (chmod(fileName, newmode) == 0) { |
56 | if (OPT_VERBOSE | 56 | 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) | |||
50 | 50 | ||
51 | if (lsetfilecon(path, scontext) < 0) { | 51 | if (lsetfilecon(path, scontext) < 0) { |
52 | if (errno != ENOTSUP) { | 52 | if (errno != ENOTSUP) { |
53 | bb_perror_msg("warning: failed to change context" | 53 | bb_perror_msg("warning: can't change context" |
54 | " of %s to %s", path, scontext); | 54 | " of %s to %s", path, scontext); |
55 | } | 55 | } |
56 | } | 56 | } |