diff options
Diffstat (limited to 'login/login.c')
-rw-r--r-- | login/login.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/login/login.c b/login/login.c index 09ef3f75a5..b7d638c692 100644 --- a/login/login.c +++ b/login/login.c @@ -91,12 +91,8 @@ login (const struct utmp *ut) struct utmp copy = *ut; /* Fill in those fields we supply. */ -#if _HAVE_UT_TYPE - 0 copy.ut_type = USER_PROCESS; -#endif -#if _HAVE_UT_PID - 0 copy.ut_pid = getpid (); -#endif /* Seek tty. */ found_tty = tty_name (STDIN_FILENO, &tty, sizeof (_tty)); |