diff options
author | Sami Kerola | 2013-08-17 20:15:11 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-23 10:58:48 +0200 |
commit | ada6c48f0609edd0c04836370228485a6b1859a0 (patch) | |
tree | d99e85dcb7cce48061f75384ada2eb344bb8b4a8 /term-utils/wall.c | |
parent | docs: add long options to last.1 manual page (diff) | |
download | kernel-qcow2-util-linux-ada6c48f0609edd0c04836370228485a6b1859a0.tar.gz kernel-qcow2-util-linux-ada6c48f0609edd0c04836370228485a6b1859a0.tar.xz kernel-qcow2-util-linux-ada6c48f0609edd0c04836370228485a6b1859a0.zip |
include: carefulput: print determined char when unprintable char is found
This is done to allow reuse of the functin in last(1).
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/wall.c')
-rw-r--r-- | term-utils/wall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/wall.c b/term-utils/wall.c index f0940732e..2d87e47db 100644 --- a/term-utils/wall.c +++ b/term-utils/wall.c @@ -286,7 +286,7 @@ static char *makemsg(char *fname, char **mvec, int mvecsz, cnt = 0; } if (ch != '\n') - carefulputc(ch, fp); + carefulputc(ch, fp, '^'); } } } |