Current Alpha kernel headers define __NR_geteuid, so the fallback is
now only needed for older ones.
---
 libgo/mksysinfo.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git ./libgo/mksysinfo.sh ./libgo/mksysinfo.sh
index 0b32b569b86..aaaee5f3a77 100755
--- ./libgo/mksysinfo.sh
+++ ./libgo/mksysinfo.sh
@@ -147,8 +147,8 @@ if ! grep '^const SYS_GETDENTS64 ' ${OUT} >/dev/null 2>&1; 
then
   echo "const SYS_GETDENTS64 = 0" >> ${OUT}
 fi
 
-# The syscall package wants the geteuid system call number.  It isn't
-# defined on Alpha, which only provides the getresuid system call.
+# The syscall package wants the geteuid system call number.  Older
+# Alpha kernel headers do not define it.
 if ! grep '^const SYS_GETEUID ' ${OUT} >/dev/null 2>&1; then
   echo "const SYS_GETEUID = 0" >> ${OUT}
 fi
-- 
2.54.0

Reply via email to