summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
authorKarel Zak2018-05-14 13:59:52 +0200
committerKarel Zak2018-05-14 13:59:52 +0200
commit8a69ad47b8b1164ac38d4c70800752a520b8871c (patch)
tree4549c816c1696ff422ddedf1fb8d1ba4c80263e3 /term-utils
parenttests: update script done messages (diff)
downloadkernel-qcow2-util-linux-8a69ad47b8b1164ac38d4c70800752a520b8871c.tar.gz
kernel-qcow2-util-linux-8a69ad47b8b1164ac38d4c70800752a520b8871c.tar.xz
kernel-qcow2-util-linux-8a69ad47b8b1164ac38d4c70800752a520b8871c.zip
iscript: s/COLS/COLUMNS/ in start message
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/script.c b/term-utils/script.c
index 506f0bb38..bbf52efd5 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -205,7 +205,7 @@ static void typescript_message_start(const struct script_control *ctl, time_t *t
if (tty)
fprintf(ctl->typescriptfp, "TTY=\"%s\" ", tty);
- fprintf(ctl->typescriptfp, "COLS=\"%d\" LINES=\"%d\"", cols, lines);
+ fprintf(ctl->typescriptfp, "COLUMNS=\"%d\" LINES=\"%d\"", cols, lines);
} else
fprintf(ctl->typescriptfp, _("<not executed on terminal>"));