summaryrefslogtreecommitdiff
path: root/libbb/remove_file.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-13 09:08:27 +0100
committerDenys Vlasenko2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /libbb/remove_file.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
*: 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 8b14f07..da14885 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)
if (lstat(path, &path_stat) < 0) {
if (errno != ENOENT) {
- bb_perror_msg("cannot stat '%s'", path);
+ bb_perror_msg("can't stat '%s'", path);
return -1;
}
if (!(flags & FILEUTILS_FORCE)) {
- bb_perror_msg("cannot remove '%s'", path);
+ bb_perror_msg("can't remove '%s'", path);
return -1;
}
return 0;
@@ -63,7 +63,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
}
if (closedir(dp) < 0) {
- bb_perror_msg("cannot close '%s'", path);
+ bb_perror_msg("can't close '%s'", path);
return -1;
}
@@ -74,7 +74,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
}
if (rmdir(path) < 0) {
- bb_perror_msg("cannot remove '%s'", path);
+ bb_perror_msg("can't remove '%s'", path);
return -1;
}
@@ -94,7 +94,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
}
if (unlink(path) < 0) {
- bb_perror_msg("cannot remove '%s'", path);
+ bb_perror_msg("can't remove '%s'", path);
return -1;
}