diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/crontab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 67279fd..0ed59b0 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c @@ -62,7 +62,7 @@ crontab_main(int ac, char **av) if ((pas = getpwuid(UserId)) == NULL) bb_perror_msg_and_die("getpwuid"); - strncpy(caller, pas->pw_name, sizeof(caller)); + safe_strncpy(caller, pas->pw_name, sizeof(caller)); i = 1; if (ac > 1) { |