summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2017-01-19 11:27:08 +0100
committerKarel Zak2017-01-19 11:27:08 +0100
commitfde30380712dd34d8a2cdb727733f0719e512918 (patch)
treecafd035f4e4a03c796c4754c78ecff0575082e16
parentbuild-sys: use MATH_LIBS for hwclock (diff)
parentterm-utils/script: fix typo leading to syntax error (diff)
downloadkernel-qcow2-util-linux-fde30380712dd34d8a2cdb727733f0719e512918.tar.gz
kernel-qcow2-util-linux-fde30380712dd34d8a2cdb727733f0719e512918.tar.xz
kernel-qcow2-util-linux-fde30380712dd34d8a2cdb727733f0719e512918.zip
Merge branch 'termutils-typo' of https://github.com/The-42/util-linux
* 'termutils-typo' of https://github.com/The-42/util-linux: term-utils/script: fix typo leading to syntax error
-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 */