]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: fix output of escaped characters
authorChristian Hesse <mail@eworm.de>
Wed, 7 Nov 2018 12:55:06 +0000 (13:55 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Nov 2018 10:32:28 +0000 (11:32 +0100)
Signed-off-by: Christian Hesse <mail@eworm.de>
term-utils/agetty.c

index 759cea5b87539d38ec971786bfcd897bb0c7f1cd..615db2c78739e34cfc69c499699a41f8205c2390 100644 (file)
@@ -2759,7 +2759,7 @@ static void output_special_char(struct issue *ie,
        }
 #endif
        default:
-               putchar(c);
+               putc(c, ie->output);
                break;
        }
 }