Various cleanups I made while going through Erik Hovland's patch submissions,
some of which are even from him. :)
This commit is contained in:
parent
f087798e8b
commit
11c7a7bed6
5 changed files with 31 additions and 111 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue