From 11c7a7bed60a55a670363bec3c07e8d88aa372b7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 25 Jun 2006 22:39:24 +0000 Subject: Various cleanups I made while going through Erik Hovland's patch submissions, some of which are even from him. :) --- miscutils/crontab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') 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) { -- cgit v1.2.3