This libgo patch corrects a typo in mksysinfo.sh.  Bootstrapped and ran
Go testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

diff -r b0964b26024e libgo/mksysinfo.sh
--- a/libgo/mksysinfo.sh	Wed Jan 25 13:47:12 2012 -0800
+++ b/libgo/mksysinfo.sh	Wed Jan 25 17:06:38 2012 -0800
@@ -250,7 +250,7 @@
   echo "const PTRACE_O_MASK = 0x7f" >> ${OUT}
 fi
 if ! grep '^const _PTRACE_GETEVENTMSG' ${OUT} > /dev/null 2>&1; then
-  echo "const _PTRACE_GETEVENTMSG = 0x4201" >> ${OUT}
+  echo "const PTRACE_GETEVENTMSG = 0x4201" >> ${OUT}
 fi
 if ! grep '^const PTRACE_EVENT_FORK' ${OUT} > /dev/null 2>&1; then
   echo "const PTRACE_EVENT_FORK = 1" >> ${OUT}

Reply via email to