From eec3e72c11440b7f2fa46d55ed07f09cf4202fdd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 17 Jan 2012 14:13:33 +0000 Subject: [PATCH] mksysinfo: Fix Alpha GNU/Linux compatibility patch. From Uros Bizjak. From-SVN: r183245 --- libgo/mksysinfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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