summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-headers/files/linux-headers-2.6.8.1-parisc-syscall.patch')
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.6.8.1-parisc-syscall.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-parisc-syscall.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-parisc-syscall.patch
new file mode 100644
index 000000000000..d6e51e36f9ee
--- /dev/null
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.8.1-parisc-syscall.patch
@@ -0,0 +1,11 @@
+--- linux/include/asm-parisc/unistd.h.orig 2004-12-30 07:15:36.593702944 -0500
++++ linux/include/asm-parisc/unistd.h 2004-12-30 07:16:30.819459376 -0500
+@@ -822,7 +822,7 @@
+ __sys_res = (long)__res; \
+ } \
+ if ( (unsigned long)__sys_res >= (unsigned long)-4095 ){ \
+- errno = -__sys_res); \
++ errno = -__sys_res; \
+ __sys_res = -1; \
+ } \
+ __sys_res; \