summaryrefslogtreecommitdiff
path: root/nonsystemd/util-linux/0001-agetty-fix-output-of-escaped-characters.patch
blob: bba49f58e1d2533d734d25d053c88bcc2dd2ee3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
 	}
 }