From 6331cf059ccfdf35f4e5a505cbae885094cc41b0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Nov 2009 09:08:27 +0100 Subject: *: use "can't" instead of "cannot" Signed-off-by: Denys Vlasenko --- miscutils/crond.c | 2 +- miscutils/crontab.c | 4 ++-- miscutils/time.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'miscutils') diff --git a/miscutils/crond.c b/miscutils/crond.c index 74bf9168b..8e4f0bfd6 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -834,7 +834,7 @@ static void RunJob(const char *user, CronLine *line) line->cl_Shell); line->cl_MailPos = lseek(mailFd, 0, SEEK_CUR); } else { - crondlog(ERR20 "cannot create mail file %s for user %s, " + crondlog(ERR20 "can't create mail file %s for user %s, " "discarding output", mailFile, user); } } diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 34b80ea37..67b10f684 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c @@ -193,7 +193,7 @@ int crontab_main(int argc UNUSED_PARAM, char **argv) close(fd); xrename(new_fname, pas->pw_name); } else { - bb_error_msg("cannot create %s/%s", + bb_error_msg("can't create %s/%s", crontab_dir, new_fname); } if (tmp_fname) @@ -220,7 +220,7 @@ int crontab_main(int argc UNUSED_PARAM, char **argv) /* loop */ } if (fd < 0) { - bb_error_msg("cannot append to %s/%s", + bb_error_msg("can't append to %s/%s", crontab_dir, CRONUPDATE); } return 0; diff --git a/miscutils/time.c b/miscutils/time.c index 30298fe32..42c812a42 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -380,7 +380,7 @@ static void run_command(char *const *cmd, resource_t *resp) versus merely warnings if the cast is left off. */ BB_EXECVP(cmd[0], cmd); xfunc_error_retval = (errno == ENOENT ? 127 : 126); - bb_error_msg_and_die("cannot run %s", cmd[0]); + bb_error_msg_and_die("can't run %s", cmd[0]); } /* Have signals kill the child but not self (if possible). */ -- cgit v1.2.3