diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 2d3aa8f6205..a8c70f07c6f 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -538,7 +538,7 @@ grep '^const _TIOC' gen-sysinfo.go | \ # We need TIOCGWINSZ. if ! grep '^const TIOCGWINSZ' ${OUT} >/dev/null 2>&1; then if grep '^const _TIOCGWINSZ_val' ${OUT} >/dev/null 2>&1; then - echo 'const TIOCGWINSZ = TIOCGWINSZ_val' >> ${OUT} + echo 'const TIOCGWINSZ = _TIOCGWINSZ_val' >> ${OUT} fi fi