Browse Source

Just take whatever the kernel headers gave us, spaces and all. This is
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik

Eric Andersen 24 years ago
parent
commit
445db497a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extra/scripts/gen_bits_syscall_h.sh

+ 1 - 1
extra/scripts/gen_bits_syscall_h.sh

@@ -19,7 +19,7 @@ $CC -E - |
   echo "#ifndef _SYSCALL_H" ;
   echo "# error \"Never use <bits/syscall.h> directly; include <sys/syscall.h> instead.\"" ;
   echo "#endif" ; echo ;
-  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\([^ ]*\)/#define SYS_\1 \2\
+  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(.*\)/#define SYS_\1 \2\
 #define __NR_\1 \2\
 #define __STR_NR_\1 \"\2\"/gp'
 )