summaryrefslogtreecommitdiff
path: root/nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch')
-rw-r--r--nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch b/nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch
new file mode 100644
index 000000000..bba49f58e
--- /dev/null
+++ b/nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch
@@ -0,0 +1,23 @@
+From ecf19dcb2d623f9c5847b6d3b3a4b85751323aee Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Wed, 7 Nov 2018 13:54:32 +0100
+Subject: [PATCH 1/1] agetty: fix output of escaped characters
+
+Signed-off-by: Christian Hesse <mail@eworm.de>
+---
+ term-utils/agetty.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/term-utils/agetty.c b/term-utils/agetty.c
+index 05a269abb..b9f08728e 100644
+--- a/term-utils/agetty.c
++++ b/term-utils/agetty.c
+@@ -2755,7 +2755,7 @@ static void output_special_char(struct issue *ie,
+ break;
+ }
+ default:
+- putchar(c);
++ putc(c, ie->output);
+ break;
+ }
+ }