aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-18 22:04:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /coreutils/rmdir.c
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
busybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.bz2
busybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
rodata cleanup. "unable to" == "cannot". -300 bytes
Diffstat (limited to 'coreutils/rmdir.c')
-rw-r--r--coreutils/rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c
index 05ea0e9ff..c61bae795 100644
--- a/coreutils/rmdir.c
+++ b/coreutils/rmdir.c
@@ -38,7 +38,7 @@ int rmdir_main(int argc, char **argv)
38 38
39 do { 39 do {
40 if (rmdir(path) < 0) { 40 if (rmdir(path) < 0) {
41 bb_perror_msg("`%s'", path); /* Match gnu rmdir msg. */ 41 bb_perror_msg("'%s'", path); /* Match gnu rmdir msg. */
42 status = EXIT_FAILURE; 42 status = EXIT_FAILURE;
43 } else if (flags) { 43 } else if (flags) {
44 /* Note: path was not empty or null since rmdir succeeded. */ 44 /* Note: path was not empty or null since rmdir succeeded. */
@@ -46,7 +46,7 @@ int rmdir_main(int argc, char **argv)
46 /* Path is now just the parent component. Note that dirname 46 /* Path is now just the parent component. Note that dirname
47 * returns "." if there are no parents. We must distinguish 47 * returns "." if there are no parents. We must distinguish
48 * this from the case of the original path starting with '.'. 48 * this from the case of the original path starting with '.'.
49 */ 49 */
50 if (do_dot || (*path != '.') || path[1]) { 50 if (do_dot || (*path != '.') || path[1]) {
51 continue; 51 continue;
52 } 52 }