summaryrefslogtreecommitdiffhomepage
path: root/miscutils
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 /miscutils
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/crontab.c4
-rw-r--r--miscutils/time.c2
3 files changed, 4 insertions, 4 deletions
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). */