aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r--coreutils/mv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c
index be10b030a..1c5a46792 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -87,10 +87,10 @@ int mv_main(int argc, char **argv)
87 if (errno != EXDEV 87 if (errno != EXDEV
88 || (source_exists = cp_mv_stat2(*argv, &source_stat, lstat)) < 1 88 || (source_exists = cp_mv_stat2(*argv, &source_stat, lstat)) < 1
89 ) { 89 ) {
90 bb_perror_msg("cannot rename '%s'", *argv); 90 bb_perror_msg("can't rename '%s'", *argv);
91 } else { 91 } else {
92 static const char fmt[] ALIGN1 = 92 static const char fmt[] ALIGN1 =
93 "cannot overwrite %sdirectory with %sdirectory"; 93 "can't overwrite %sdirectory with %sdirectory";
94 94
95 if (dest_exists) { 95 if (dest_exists) {
96 if (dest_exists == 3) { 96 if (dest_exists == 3) {
@@ -105,7 +105,7 @@ int mv_main(int argc, char **argv)
105 } 105 }
106 } 106 }
107 if (unlink(dest) < 0) { 107 if (unlink(dest) < 0) {
108 bb_perror_msg("cannot remove '%s'", dest); 108 bb_perror_msg("can't remove '%s'", dest);
109 goto RET_1; 109 goto RET_1;
110 } 110 }
111 } 111 }