From e496873b3a6733365587abf543cae8f680cbfbdd Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Mon, 29 Mar 1999 14:11:24 +0000 Subject: [PATCH] _CRAY -> HAVE_STRUCT_UTMP_UT_ID git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5788 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/telnetd/sys_term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index 697a3f41e..ea357a862 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -1160,7 +1160,7 @@ startslave(char *host, int autologin, char *autoname) strncpy(wtmp.ut_user, "LOGIN", sizeof(wtmp.ut_user)); strncpy(wtmp.ut_host, host, sizeof(wtmp.ut_host)); strncpy(wtmp.ut_line, clean_ttyname(line), sizeof(wtmp.ut_line)); -#ifdef _CRAY /* XXX */ +#ifdef HAVE_STRUCT_UTMP_UT_ID strncpy(wtmp.ut_id, wtmp.ut_line + 3, sizeof(wtmp.ut_id)); #endif