summaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-22 21:23:21 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-22 21:23:21 +0000
commit77aeaaf87f6527698485a3ebb46b7fb6e15d1f7d (patch)
treed91a75d1ea48630f81d32caa1245bad33dbc2e91 /loginrec.c
parente68c5670cd088254f82529162c3d2dd5df7ab91e (diff)
- (stevesk) remove erroneous #ifdef sgi code.
Michael Stone <mstone@cs.loyola.edu>
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/loginrec.c b/loginrec.c
index d74833224..c703663ae 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
166RCSID("$Id: loginrec.c,v 1.31 2001/02/05 12:42:17 stevesk Exp $"); 166RCSID("$Id: loginrec.c,v 1.32 2001/02/22 21:23:21 stevesk Exp $");
167 167
168#ifdef HAVE_UTIL_H 168#ifdef HAVE_UTIL_H
169# include <util.h> 169# include <util.h>
@@ -539,13 +539,8 @@ line_abbrevname(char *dst, const char *src, int dstsize)
539 memset(dst, '\0', dstsize); 539 memset(dst, '\0', dstsize);
540 540
541 /* Always skip prefix if present */ 541 /* Always skip prefix if present */
542#ifdef sgi
543 if (strncmp(src, "/dev/tty", 8) == 0)
544 src += 8;
545#else
546 if (strncmp(src, "/dev/", 5) == 0) 542 if (strncmp(src, "/dev/", 5) == 0)
547 src += 5; 543 src += 5;
548#endif
549 544
550 len = strlen(src); 545 len = strlen(src);
551 546