]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
iscript: s/COLS/COLUMNS/ in start message
authorKarel Zak <kzak@redhat.com>
Mon, 14 May 2018 11:59:52 +0000 (13:59 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 May 2018 11:59:52 +0000 (13:59 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c

index 506f0bb38bdb1b5d174e61164d1856f18fbe497a..bbf52efd546f4b2832df2a6b8ab04cbaec42ff5f 100644 (file)
@@ -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>"));