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.29.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b0b7f6a1bedebaaf67d1f32f63a89ab60415d4;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 e90644aed4..49a1e2865e 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 */