summaryrefslogtreecommitdiffstats
path: root/abs/core/util-linux/term_utils-agetty.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:05:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:05:10 (GMT)
commit7108cf5024e8a9491c1269e95426889736472d0a (patch)
treeaec3fe8fdc2b5c5571200d11584a1799d1392510 /abs/core/util-linux/term_utils-agetty.patch
parentf3d2833257ef401f6311b0d1a7a7e5c7fb5bdc12 (diff)
downloadlinhes_pkgbuild-7108cf5024e8a9491c1269e95426889736472d0a.zip
linhes_pkgbuild-7108cf5024e8a9491c1269e95426889736472d0a.tar.gz
linhes_pkgbuild-7108cf5024e8a9491c1269e95426889736472d0a.tar.bz2
util-linux 2.21.2
includes our patch for agetty
Diffstat (limited to 'abs/core/util-linux/term_utils-agetty.patch')
-rw-r--r--abs/core/util-linux/term_utils-agetty.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/util-linux/term_utils-agetty.patch b/abs/core/util-linux/term_utils-agetty.patch
new file mode 100644
index 0000000..f0b37b3
--- /dev/null
+++ b/abs/core/util-linux/term_utils-agetty.patch
@@ -0,0 +1,17 @@
+--- term-utils/agetty.orig 2012-08-02 19:44:36.234757299 +0000
++++ term-utils/agetty.c 2012-08-02 19:47:15.464752505 +0000
+@@ -961,12 +961,12 @@
+ */
+
+ if ((fcntl(STDIN_FILENO, F_GETFL, 0) & O_RDWR) != O_RDWR)
+- log_err(_("%s: not open for read/write"), tty);
++ log_warn(_("%s: not open for read/write"), tty);
+
+ }
+
+ if (tcsetpgrp(STDIN_FILENO, pid))
+- log_err("/dev/%s: cannot set process group: %m", tty);
++ log_warn("/dev/%s: cannot set process group: %m", tty);
+
+ /* Get rid of the present outputs. */
+ close(STDOUT_FILENO);