diff options
author | Bert van Hall | 2017-01-18 16:41:36 +0100 |
---|---|---|
committer | Bert van Hall | 2017-01-18 16:45:56 +0100 |
commit | 8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7 (patch) | |
tree | 6f9b9c5553d1b46ff587a551c62b1514774cb0c7 /term-utils/script.c | |
parent | build-sys: use -lm for scriptreplay if necessary (diff) | |
download | kernel-qcow2-util-linux-8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7.tar.gz kernel-qcow2-util-linux-8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7.tar.xz kernel-qcow2-util-linux-8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7.zip |
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 <bert.vanhall@avionic-design.de>
Diffstat (limited to 'term-utils/script.c')
-rw-r--r-- | term-utils/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/script.c b/term-utils/script.c index a1bf9a608..6e12ecaa9 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 */ |