aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crontab.c
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-06-25 22:39:24 +0000
committerGravatar Rob Landley <rob@landley.net>2006-06-25 22:39:24 +0000
commit11c7a7bed60a55a670363bec3c07e8d88aa372b7 (patch)
tree809c167b4c007b334afcb34b4689841a029022ac /miscutils/crontab.c
parentf087798e8bf5857b679c369601426ca29334caee (diff)
downloadbusybox-11c7a7bed60a55a670363bec3c07e8d88aa372b7.tar.gz
busybox-11c7a7bed60a55a670363bec3c07e8d88aa372b7.tar.bz2
Various cleanups I made while going through Erik Hovland's patch submissions,
some of which are even from him. :)
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r--miscutils/crontab.c2
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)
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) {