aboutsummaryrefslogtreecommitdiff
path: root/libbb/remove_file.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /libbb/remove_file.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/remove_file.c')
-rw-r--r--libbb/remove_file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbb/remove_file.c b/libbb/remove_file.c
index 8b14f07c9..da1488544 100644
--- a/libbb/remove_file.c
+++ b/libbb/remove_file.c
@@ -17,11 +17,11 @@ int FAST_FUNC remove_file(const char *path, int flags)
17 17
18 if (lstat(path, &path_stat) < 0) { 18 if (lstat(path, &path_stat) < 0) {
19 if (errno != ENOENT) { 19 if (errno != ENOENT) {
20 bb_perror_msg("cannot stat '%s'", path); 20 bb_perror_msg("can't stat '%s'", path);
21 return -1; 21 return -1;
22 } 22 }
23 if (!(flags & FILEUTILS_FORCE)) { 23 if (!(flags & FILEUTILS_FORCE)) {
24 bb_perror_msg("cannot remove '%s'", path); 24 bb_perror_msg("can't remove '%s'", path);
25 return -1; 25 return -1;
26 } 26 }
27 return 0; 27 return 0;
@@ -63,7 +63,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
63 } 63 }
64 64
65 if (closedir(dp) < 0) { 65 if (closedir(dp) < 0) {
66 bb_perror_msg("cannot close '%s'", path); 66 bb_perror_msg("can't close '%s'", path);
67 return -1; 67 return -1;
68 } 68 }
69 69
@@ -74,7 +74,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
74 } 74 }
75 75
76 if (rmdir(path) < 0) { 76 if (rmdir(path) < 0) {
77 bb_perror_msg("cannot remove '%s'", path); 77 bb_perror_msg("can't remove '%s'", path);
78 return -1; 78 return -1;
79 } 79 }
80 80
@@ -94,7 +94,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
94 } 94 }
95 95
96 if (unlink(path) < 0) { 96 if (unlink(path) < 0) {
97 bb_perror_msg("cannot remove '%s'", path); 97 bb_perror_msg("can't remove '%s'", path);
98 return -1; 98 return -1;
99 } 99 }
100 100