diff options
author | Tim Rice <tim@multitalents.net> | 2002-09-25 17:38:46 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2002-09-25 17:38:46 -0700 |
commit | 81ed518b9b888502cc57b23c02c47634ca508748 (patch) | |
tree | c5e3572dcc8dabd07784d1686d67e560e1685a6f /loginrec.c | |
parent | 164725f40ecda144de706c94778e47dc86ae9257 (diff) | |
download | openssh-git-81ed518b9b888502cc57b23c02c47634ca508748.tar.gz |
Cray fixes (bug 367) based on patch from Wendy Palm @ cray.
This does not include the deattack.c fixes.
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -163,7 +163,7 @@ #include "log.h" #include "atomicio.h" -RCSID("$Id: loginrec.c,v 1.43 2002/07/22 23:34:25 mouring Exp $"); +RCSID("$Id: loginrec.c,v 1.44 2002/09/26 00:38:49 tim 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; -#if defined(_CRAY) && !defined(_CRAYSV2) +#ifdef _UNICOS cray_set_tmpdir(ut); #endif break; case LTYPE_LOGOUT: ut->ut_type = DEAD_PROCESS; -#if defined(_CRAY) && !defined(_CRAYSV2) +#ifdef _UNICOS cray_retain_utmp(ut, li->pid); #endif break; |