Re: [PATCH 1/1] agetty: fix output of escaped characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 07, 2018 at 01:55:06PM +0100, Christian Hesse wrote:
> From: Christian Hesse <mail@xxxxxxxx>
> 
> Signed-off-by: Christian Hesse <mail@xxxxxxxx>
> ---
>  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;

Seems we need 2.33.1 ASAP.

(by the way this bug is also in v2.33-rc2, unfortunately badly tested...)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux