summaryrefslogtreecommitdiffstats
path: root/term-utils/script.c
diff options
context:
space:
mode:
authorBert van Hall2017-01-18 16:41:36 +0100
committerBert van Hall2017-01-18 16:45:56 +0100
commit8d6fdd2f0c2a47db6b4fa697ff0b757f904318e7 (patch)
tree6f9b9c5553d1b46ff587a551c62b1514774cb0c7 /term-utils/script.c
parentbuild-sys: use -lm for scriptreplay if necessary (diff)
downloadkernel-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.c2
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 */