diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
commit | a9801658ee4b7f5717d145818428452f864e1015 (patch) | |
tree | f85bbdf6cb572751dee639feb9896cad3503b924 /loginutils/login.c | |
parent | b750dec40a4bf013f98658b46925117d9d1d4811 (diff) |
getty, sulogin: convert to using bb_msg for syslog output
Diffstat (limited to 'loginutils/login.c')
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index f3c7e70f4..5b4edd8de 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -444,7 +444,7 @@ static void checkutmp(int picky) } if (strncmp(line, "/dev/", 5) == 0) line += 5; - memset((void *) &utent, 0, sizeof utent); + memset(&utent, 0, sizeof utent); utent.ut_type = LOGIN_PROCESS; utent.ut_pid = pid; strncpy(utent.ut_line, line, sizeof utent.ut_line); |