summaryrefslogtreecommitdiff
path: root/misc/orville-write/files/patch-lib_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/orville-write/files/patch-lib_common.c')
-rw-r--r--misc/orville-write/files/patch-lib_common.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/orville-write/files/patch-lib_common.c b/misc/orville-write/files/patch-lib_common.c
deleted file mode 100644
index 00db6944cf73..000000000000
--- a/misc/orville-write/files/patch-lib_common.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib_common.c.orig 2010-02-02 22:34:36.829638978 -0800
-+++ lib_common.c 2010-02-02 22:36:28.170798539 -0800
-@@ -141,13 +141,13 @@
- * fail. The tty name need not be null terminated.
- */
-
--struct utmp *find_utmp(char *tty)
-+struct utmpx *find_utmp(char *tty)
- {
--struct utmp tmputmp;
-+struct utmpx tmputmp;
-
- strncpy(tmputmp.ut_line, tty, UT_LINESIZE);
- setutent(); /* open and/or rewind */
-- return getutline(&tmputmp);
-+ return getutxline(&tmputmp);
- }
-
-