diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginrec.c b/loginrec.c index df4abeb79..6dc608a4e 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -163,7 +163,7 @@ | |||
163 | #include "log.h" | 163 | #include "log.h" |
164 | #include "atomicio.h" | 164 | #include "atomicio.h" |
165 | 165 | ||
166 | RCSID("$Id: loginrec.c,v 1.42 2002/07/14 22:50:51 tim Exp $"); | 166 | RCSID("$Id: loginrec.c,v 1.43 2002/07/22 23:34:25 mouring Exp $"); |
167 | 167 | ||
168 | #ifdef HAVE_UTIL_H | 168 | #ifdef HAVE_UTIL_H |
169 | # include <util.h> | 169 | # include <util.h> |
@@ -622,13 +622,13 @@ construct_utmp(struct logininfo *li, | |||
622 | switch (li->type) { | 622 | switch (li->type) { |
623 | case LTYPE_LOGIN: | 623 | case LTYPE_LOGIN: |
624 | ut->ut_type = USER_PROCESS; | 624 | ut->ut_type = USER_PROCESS; |
625 | #ifdef _CRAY | 625 | #if defined(_CRAY) && !defined(_CRAYSV2) |
626 | cray_set_tmpdir(ut); | 626 | cray_set_tmpdir(ut); |
627 | #endif | 627 | #endif |
628 | break; | 628 | break; |
629 | case LTYPE_LOGOUT: | 629 | case LTYPE_LOGOUT: |
630 | ut->ut_type = DEAD_PROCESS; | 630 | ut->ut_type = DEAD_PROCESS; |
631 | #ifdef _CRAY | 631 | #if defined(_CRAY) && !defined(_CRAYSV2) |
632 | cray_retain_utmp(ut, li->pid); | 632 | cray_retain_utmp(ut, li->pid); |
633 | #endif | 633 | #endif |
634 | break; | 634 | break; |