]> 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)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Jan 2017 10:35:50 +0000 (11:35 +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 e90644aed46d23750a78fbca544c86f0053ae19d..49a1e2865ea1cfe988afd35d4ca3d354f66ff4f8 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 */