summaryrefslogtreecommitdiffstats
path: root/abs/core/util-linux/term_utils-agetty.patch
blob: f0b37b3a16ee7ac9f18a65dabbce57ceab9f90db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);