summaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
authormouring <mouring>2002-07-22 23:34:25 +0000
committermouring <mouring>2002-07-22 23:34:25 +0000
commit25ccbe711a04821e86fb7cc5dec0cc77787f7cd7 (patch)
treea6e48d8958ba031a5c81e367e42a97a774493945 /loginrec.c
parent5568f64083c89940c05803b3bf239d120f9c4fdf (diff)
downloadopenssh-25ccbe711a04821e86fb7cc5dec0cc77787f7cd7.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;