* src/logoutd.c: Ignore return value of time() when use with a
non NULL argument.
This commit is contained in:
@ -77,7 +77,7 @@ static int check_login (const struct utmp *ut)
|
||||
strncpy (user, ut->ut_user, sizeof (ut->ut_user));
|
||||
user[sizeof (ut->ut_user)] = '\0';
|
||||
|
||||
time (&now);
|
||||
(void) time (&now);
|
||||
|
||||
/*
|
||||
* Check if they are allowed to be logged in right now.
|
||||
|
Reference in New Issue
Block a user