File util-linux-agetty-smart-reload-11.patch of Package util-linux.31381

Refresh.
From f8ee3af9fabc4369c36fdbd706a17deb246a751c Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 7 Nov 2018 13:55:06 +0100
Subject: [PATCH 11/14] 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(-)

Index: util-linux-2.31.1/term-utils/agetty.c
===================================================================
--- util-linux-2.31.1.orig/term-utils/agetty.c
+++ util-linux-2.31.1/term-utils/agetty.c
@@ -2601,7 +2601,7 @@ static void output_special_char(struct i
 	}
 #endif
 	default:
-		putchar(c);
+		putc(c, ie->output);
 		break;
 	}
 }
openSUSE Build Service is sponsored by