_CRAY -> HAVE_STRUCT_UTMP_UT_ID

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5788 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-29 14:11:24 +00:00
parent 13962c6a0c
commit e496873b3a

View File

@@ -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