diff options
Diffstat (limited to 'login/logout.c')
-rw-r--r-- | login/logout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/login/logout.c b/login/logout.c index 09a7561..41c864a 100644 --- a/login/logout.c +++ b/login/logout.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -53,7 +53,7 @@ logout (const char *line) #if _HAVE_UT_TV - 0 gettimeofday (&ut->ut_tv, NULL); #else - time (&ut->ut_time); + ut->ut_time = time (NULL); #endif #if _HAVE_UT_TYPE - 0 ut->ut_type = DEAD_PROCESS; |