aboutsummaryrefslogtreecommitdiff
path: root/loginutils/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/login.c')
-rw-r--r--loginutils/login.c2
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);