summaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-22 23:34:25 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-22 23:34:25 +0000
commit232ccf775459210ee79873d4411328bff6b8d66a (patch)
tree1b216507a0fa6b76c8c0ca9be21da3385e01897d /loginrec.c
parent066e1ab8a36123a910e4dc7b3e2eb15890234a60 (diff)
downloadopenssh-git-232ccf775459210ee79873d4411328bff6b8d66a.tar.gz
- (bal) [configure.ac defines.h loginrec.c sshd.c sshpty.c] Partial sync
with Cray (mostly #ifdef renaming). Patch by wendyp@cray.com.
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loginrec.c b/loginrec.c
index df4abeb7..6dc608a4 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -163,7 +163,7 @@
#include "log.h"
#include "atomicio.h"
-RCSID("$Id: loginrec.c,v 1.42 2002/07/14 22:50:51 tim Exp $");
+RCSID("$Id: loginrec.c,v 1.43 2002/07/22 23:34:25 mouring Exp $");
#ifdef HAVE_UTIL_H
# include <util.h>
@@ -622,13 +622,13 @@ construct_utmp(struct logininfo *li,
switch (li->type) {
case LTYPE_LOGIN:
ut->ut_type = USER_PROCESS;
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
cray_set_tmpdir(ut);
#endif
break;
case LTYPE_LOGOUT:
ut->ut_type = DEAD_PROCESS;
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
cray_retain_utmp(ut, li->pid);
#endif
break;