aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/chmod.c')
-rw-r--r--coreutils/chmod.c2
1 files changed, 1 insertions, 1 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