OSDN Git Service

mksysinfo: Fix Alpha GNU/Linux compatibility patch.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2012 14:13:33 +0000 (14:13 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2012 14:13:33 +0000 (14:13 +0000)
From Uros Bizjak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183245 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/mksysinfo.sh

index 2d3aa8f..a8c70f0 100755 (executable)
@@ -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