From f5fafb318f0e5fc526288d5761c9e21ac9630782 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 23 Oct 1995 17:32:07 +0000 Subject: [PATCH] Fix typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6982 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/pty/ChangeLog | 8 ++++++++ src/util/pty/update_wtmp.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index a456b444f..e762477db 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,11 @@ +Sun Oct 22 03:48:37 1995 Sam Hartman + + * update_wtmp.c (ptyint_update_wtmp): Add comments explaining why ifdefs are right. + +Sun Oct 22 01:20:52 1995 Sam Hartman + + * update_wtmp.c (ptyint_update_wtmp): Try utx not uts. + Mon Oct 16 17:41:45 1995 Sam Hartman diff --git a/src/util/pty/update_wtmp.c b/src/util/pty/update_wtmp.c index de264db66..e5a4d3c86 100644 --- a/src/util/pty/update_wtmp.c +++ b/src/util/pty/update_wtmp.c @@ -42,12 +42,13 @@ long ptyint_update_wtmp (ent , host) getutmpx(ent, &utx); if (host) strncpy(utx.ut_host, host, sizeof(utx.ut_host) ); - else uts.ut_host[0] = 0; + else utx.ut_host[0] = 0; updwtmpx(WTMPX_FILE, &utx); #endif #ifdef HAVE_UPDWTMP #ifndef HAVE_SETUTXENT +/* This is already performed byupdwtmpx if present.*/ updwtmp(WTMP_FILE, ent); #endif /* HAVE_SETUTXENT*/ #else /* HAVE_UPDWTMP */ -- 2.26.2