diff options
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r-- | term-utils/agetty.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index d6cec8f20..dbf499ef5 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -943,11 +943,7 @@ static void update_utmp(struct options *op) if (fakehost) strncpy(ut.ut_host, fakehost, sizeof(ut.ut_host)); time(&t); -#if defined(_HAVE_UT_TV) ut.ut_tv.tv_sec = t; -#else - ut.ut_time = t; -#endif ut.ut_type = LOGIN_PROCESS; ut.ut_pid = pid; ut.ut_session = sid; |