]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
term-utils/script: fix typo leading to syntax error
authorBert van Hall <bert.vanhall@avionic-design.de>
Wed, 18 Jan 2017 15:41:36 +0000 (16:41 +0100)
committerBert van Hall <bert.vanhall@avionic-design.de>
Wed, 18 Jan 2017 15:45:56 +0000 (16:45 +0100)
Introduced in edc7e42, this typo is actually invalid C. Fix this.

Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
term-utils/script.c

index a1bf9a608ada3ced425d3a2d9e8aed1ab6dda560..6e12ecaa9829a60eeefb4612e6ca28783da0ecb8 100644 (file)
@@ -112,7 +112,7 @@ struct script_control {
        struct termios attrs;   /* slave terminal runtime attributes */
        struct winsize win;     /* terminal window size */
 #if !HAVE_LIBUTIL || !HAVE_PTY_H
-       char line *;            /* terminal line */
+       char *line;             /* terminal line */
 #endif
        unsigned int
         append:1,              /* append output */