summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
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 74bf916..8e4f0bf 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 34b80ea..67b10f6 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 30298fe..42c812a 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). */