From: Bert van Hall Date: Wed, 18 Jan 2017 15:41:36 +0000 (+0100) Subject: term-utils/script: fix typo leading to syntax error X-Git-Tag: v2.30-rc1~292^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7;p=thirdparty%2Futil-linux.git term-utils/script: fix typo leading to syntax error Introduced in edc7e42, this typo is actually invalid C. Fix this. Signed-off-by: Bert van Hall --- diff --git a/term-utils/script.c b/term-utils/script.c index a1bf9a608a..6e12ecaa98 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -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 */