Diff of /trunk/mkinitrd-magellan/busybox/coreutils/chmod.c
Parent Directory | Revision Log | Patch
revision 1122 by niro, Sun May 30 11:32:42 2010 UTC | revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC | |
---|---|---|
# | Line 50 static int FAST_FUNC fileAction(const ch | Line 50 static int FAST_FUNC fileAction(const ch |
50 | newmode = statbuf->st_mode; | newmode = statbuf->st_mode; |
51 | ||
52 | if (!bb_parse_mode((char *)param, &newmode)) | if (!bb_parse_mode((char *)param, &newmode)) |
53 | bb_error_msg_and_die("invalid mode: %s", (char *)param); | bb_error_msg_and_die("invalid mode '%s'", (char *)param); |
54 | ||
55 | if (chmod(fileName, newmode) == 0) { | if (chmod(fileName, newmode) == 0) { |
56 | if (OPT_VERBOSE | if (OPT_VERBOSE |
|