aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/libcoreutils/cp_mv_stat.c2
-rw-r--r--coreutils/mkdir.c2
-rw-r--r--coreutils/rm.c2
-rw-r--r--coreutils/rmdir.c4
-rw-r--r--coreutils/stty.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c
index 0849ebc6c..2e4f25e21 100644
--- a/coreutils/libcoreutils/cp_mv_stat.c
+++ b/coreutils/libcoreutils/cp_mv_stat.c
@@ -27,7 +27,7 @@ int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf)
27{ 27{
28 if (sf(fn, fn_stat) < 0) { 28 if (sf(fn, fn_stat) < 0) {
29 if (errno != ENOENT) { 29 if (errno != ENOENT) {
30 bb_perror_msg("unable to stat '%s'", fn); 30 bb_perror_msg("cannot stat '%s'", fn);
31 return -1; 31 return -1;
32 } 32 }
33 return 0; 33 return 0;
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 1aee8b2b5..c4d267695 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -44,7 +44,7 @@ int mkdir_main (int argc, char **argv)
44 if(opt & 1) { 44 if(opt & 1) {
45 mode = 0777; 45 mode = 0777;
46 if (!bb_parse_mode (smode, &mode)) { 46 if (!bb_parse_mode (smode, &mode)) {
47 bb_error_msg_and_die ("invalid mode `%s'", smode); 47 bb_error_msg_and_die ("invalid mode '%s'", smode);
48 } 48 }
49 } 49 }
50 if(opt & 2) 50 if(opt & 2)
diff --git a/coreutils/rm.c b/coreutils/rm.c
index 490694a6e..5df7d5f65 100644
--- a/coreutils/rm.c
+++ b/coreutils/rm.c
@@ -38,7 +38,7 @@ int rm_main(int argc, char **argv)
38 const char *base = bb_get_last_path_component(*argv); 38 const char *base = bb_get_last_path_component(*argv);
39 39
40 if ((base[0] == '.') && (!base[1] || ((base[1] == '.') && !base[2]))) { 40 if ((base[0] == '.') && (!base[1] || ((base[1] == '.') && !base[2]))) {
41 bb_error_msg("cannot remove `.' or `..'"); 41 bb_error_msg("cannot remove '.' or '..'");
42 } else if (remove_file(*argv, flags) >= 0) { 42 } else if (remove_file(*argv, flags) >= 0) {
43 continue; 43 continue;
44 } 44 }
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 }
diff --git a/coreutils/stty.c b/coreutils/stty.c
index 8c16c27a9..22784a260 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -917,7 +917,7 @@ end_option:
917 new_mode.c_cflag &= (~CIBAUD); 917 new_mode.c_cflag &= (~CIBAUD);
918 if (speed_was_set || memcmp(&mode, &new_mode, sizeof(mode)) != 0) 918 if (speed_was_set || memcmp(&mode, &new_mode, sizeof(mode)) != 0)
919#endif 919#endif
920 perror_on_device_and_die ("%s: unable to perform all requested operations"); 920 perror_on_device_and_die("%s: cannot perform all requested operations");
921 } 921 }
922 } 922 }
923 923