libgo: fix typo in mksysinfo.sh script

Fix a small typo in the mksysinfo.sh script (incorrect input
file for a grep command).

Change-Id: I43993e258058a867d5f8d96e43524ce6eccf9ef9
Reviewed-on: https://go-review.googlesource.com/98635
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
index 6f7cba7..1b40dbe 100755
--- a/libgo/mksysinfo.sh
+++ b/libgo/mksysinfo.sh
@@ -1142,7 +1142,7 @@
     sed -e 's/^\(const \)_\(RLIM_[^= ]*\)\(.*\)$/\1\2 = _\2/' >> ${OUT}
 if test "${rlimit}" = "_rlimit64" && grep '^const _RLIM64_INFINITY ' gen-sysinfo.go > /dev/null 2>&1; then
   echo 'const RLIM_INFINITY = _RLIM64_INFINITY' >> ${OUT}
-elif grep '^const _RLIM_INFINITY ' gen-sysinfo-go; then
+elif grep '^const _RLIM_INFINITY ' gen-sysinfo.go > /dev/null 2>&1; then
   echo 'const RLIM_INFINITY = _RLIM_INFINITY' >> ${OUT}
 fi