Patchwork libgo patch committed: Correct typo in mksysinfo.sh

login
register
mail settings
Submitter Ian Taylor
Date Jan. 26, 2012, 1:08 a.m.
Message ID <mcrpqe7tgmv.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/137872/
State New
Headers show

Comments

Ian Taylor - Jan. 26, 2012, 1:08 a.m.
This libgo patch corrects a typo in mksysinfo.sh.  Bootstrapped and ran
Go testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch

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}