From 2835c287829d9f3fa5078ac6caaa7d811ac64e60 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 2 May 2001 02:28:23 +0000 Subject: [PATCH] * 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 --- src/util/pty/ChangeLog | 5 +++++ src/util/pty/update_utmp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)) { -- 2.26.2