From: Ken Raeburn Date: Wed, 2 May 2001 02:28:23 +0000 (+0000) Subject: * update_utmp.c (pty_update_utmp): Fix typo (OWRONLY -> O_WRONLY) X-Git-Tag: krb5-1.3-alpha1~1525 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2835c287829d9f3fa5078ac6caaa7d811ac64e60;p=krb5.git * update_utmp.c (pty_update_utmp): Fix typo (OWRONLY -> O_WRONLY) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13226 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index da11c08e3..90a0a1ef4 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,8 @@ +2001-05-01 Ken Raeburn + + * update_utmp.c (pty_update_utmp): Fix typo (OWRONLY -> + O_WRONLY). + 2001-05-01 Ezra Peisach * update_wtmp.c (ptyint_update_wtmpx): Add missing semi-colon in diff --git a/src/util/pty/update_utmp.c b/src/util/pty/update_utmp.c index fc5edfd72..976febe1a 100644 --- a/src/util/pty/update_utmp.c +++ b/src/util/pty/update_utmp.c @@ -593,7 +593,7 @@ pty_update_utmp(int process_type, int pid, const char *username, close(fd); } if (tty > 0) { - fd = open(UTMP_FILE, OWRONLY); + fd = open(UTMP_FILE, O_WRONLY); if (fd == -1) return 0; if (fstat(fd, &statb)) {