From: Paul Park Date: Tue, 8 Aug 1995 22:03:52 +0000 (+0000) Subject: Pass correct argument to getutmpx() X-Git-Tag: krb5-1.0-beta6~1357 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=599c381ea22ed9712d15fc3b912b850d3973af97;p=krb5.git Pass correct argument to getutmpx() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6469 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index a893b5e06..bf5a2d949 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,7 @@ + +Tue Aug 8 17:24:27 EDT 1995 Paul Park (pjpark@mit.edu) + * update_utmp.c - getutmpx() requires address of utmpx structure. + Mon Aug 7 17:41:39 1995 Sam Hartman * cleanup.c (pty_cleanup): Call pty_update_utmp using new interface. diff --git a/src/util/pty/update_utmp.c b/src/util/pty/update_utmp.c index b80d075eb..30b317067 100644 --- a/src/util/pty/update_utmp.c +++ b/src/util/pty/update_utmp.c @@ -114,7 +114,7 @@ long pty_update_utmp (process_type, pid, username, line, host) #ifdef HAVE_SETUTXENT setutxent(); - getutmpx(ent, &utx); + getutmpx(&ent, &utx); pututxline(&utx); endutxent(); #endif /* HAVE_SETUTXENT */