diff options
author | Denys Vlasenko | 2009-11-13 09:08:27 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-11-13 09:08:27 +0100 |
commit | 6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch) | |
tree | ccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /coreutils | |
parent | f4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff) | |
download | busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz |
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/date.c | 2 | ||||
-rw-r--r-- | coreutils/id.c | 2 | ||||
-rw-r--r-- | coreutils/libcoreutils/cp_mv_stat.c | 4 | ||||
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 | ||||
-rw-r--r-- | coreutils/mv.c | 6 | ||||
-rw-r--r-- | coreutils/od_bloaty.c | 2 | ||||
-rw-r--r-- | coreutils/rm.c | 2 | ||||
-rw-r--r-- | coreutils/stat.c | 4 |
8 files changed, 12 insertions, 12 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index a230fe2..51200e6 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -164,7 +164,7 @@ int date_main(int argc UNUSED_PARAM, char **argv) /* if setting time, set it */ if ((opt & OPT_SET) && stime(&tm) < 0) { - bb_perror_msg("cannot set date"); + bb_perror_msg("can't set date"); } } diff --git a/coreutils/id.c b/coreutils/id.c index 6022c9f..ec9227d0 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -175,7 +175,7 @@ int id_main(int argc UNUSED_PARAM, char **argv) } } else if (n < 0) { /* error in get_groups() */ if (!ENABLE_DESKTOP) - bb_error_msg_and_die("cannot get groups"); + bb_error_msg_and_die("can't get groups"); else return EXIT_FAILURE; } diff --git a/coreutils/libcoreutils/cp_mv_stat.c b/coreutils/libcoreutils/cp_mv_stat.c index 0fd467c..5ba07ec 100644 --- a/coreutils/libcoreutils/cp_mv_stat.c +++ b/coreutils/libcoreutils/cp_mv_stat.c @@ -29,11 +29,11 @@ int FAST_FUNC cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) if (errno != ENOENT) { #if ENABLE_FEATURE_VERBOSE_CP_MESSAGE if (errno == ENOTDIR) { - bb_error_msg("cannot stat '%s': Path has non-directory component", fn); + bb_error_msg("can't stat '%s': Path has non-directory component", fn); return -1; } #endif - bb_perror_msg("cannot stat '%s'", fn); + bb_perror_msg("can't stat '%s'", fn); return -1; } return 0; diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index a988b9c..a64026d 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c @@ -174,7 +174,7 @@ int md5_sha1_sum_main(int argc UNUSED_PARAM, char **argv) } /* if (fclose_if_not_stdin(pre_computed_stream) == EOF) { - bb_perror_msg_and_die("cannot close file %s", file_ptr); + bb_perror_msg_and_die("can't close file %s", file_ptr); } */ } else { diff --git a/coreutils/mv.c b/coreutils/mv.c index be10b03..1c5a467 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c @@ -87,10 +87,10 @@ int mv_main(int argc, char **argv) if (errno != EXDEV || (source_exists = cp_mv_stat2(*argv, &source_stat, lstat)) < 1 ) { - bb_perror_msg("cannot rename '%s'", *argv); + bb_perror_msg("can't rename '%s'", *argv); } else { static const char fmt[] ALIGN1 = - "cannot overwrite %sdirectory with %sdirectory"; + "can't overwrite %sdirectory with %sdirectory"; if (dest_exists) { if (dest_exists == 3) { @@ -105,7 +105,7 @@ int mv_main(int argc, char **argv) } } if (unlink(dest) < 0) { - bb_perror_msg("cannot remove '%s'", dest); + bb_perror_msg("can't remove '%s'", dest); goto RET_1; } } diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 1d5769b..0c4740b 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c @@ -807,7 +807,7 @@ skip(off_t n_skip) } if (n_skip) - bb_error_msg_and_die("cannot skip past end of combined input"); + bb_error_msg_and_die("can't skip past end of combined input"); } diff --git a/coreutils/rm.c b/coreutils/rm.c index 6b3fbcf..3090cc3 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c @@ -42,7 +42,7 @@ int rm_main(int argc UNUSED_PARAM, char **argv) const char *base = bb_get_last_path_component_strip(*argv); if (DOT_OR_DOTDOT(base)) { - bb_error_msg("cannot remove '.' or '..'"); + bb_error_msg("can't remove '.' or '..'"); } else if (remove_file(*argv, flags) >= 0) { continue; } diff --git a/coreutils/stat.c b/coreutils/stat.c index 44a03e5..2bc9a08 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c @@ -383,7 +383,7 @@ static bool do_statfs(const char *filename, const char *format) } #endif if (statfs(filename, &statfsbuf) != 0) { - bb_perror_msg("cannot read file system information for '%s'", filename); + bb_perror_msg("can't read file system information for '%s'", filename); return 0; } @@ -495,7 +495,7 @@ static bool do_stat(const char *filename, const char *format) } #endif if ((option_mask32 & OPT_DEREFERENCE ? stat : lstat) (filename, &statbuf) != 0) { - bb_perror_msg("cannot stat '%s'", filename); + bb_perror_msg("can't stat '%s'", filename); return 0; } |