diff options
Diffstat (limited to 'miscutils/crontab.c')
-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 67279fdeb..0ed59b0dc 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c | |||
@@ -62,7 +62,7 @@ crontab_main(int ac, char **av) | |||
62 | if ((pas = getpwuid(UserId)) == NULL) | 62 | if ((pas = getpwuid(UserId)) == NULL) |
63 | bb_perror_msg_and_die("getpwuid"); | 63 | bb_perror_msg_and_die("getpwuid"); |
64 | 64 | ||
65 | strncpy(caller, pas->pw_name, sizeof(caller)); | 65 | safe_strncpy(caller, pas->pw_name, sizeof(caller)); |
66 | 66 | ||
67 | i = 1; | 67 | i = 1; |
68 | if (ac > 1) { | 68 | if (ac > 1) { |