summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-10 13:27:33 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-10 13:27:33 +0000
commit187bbfcd1cb668ff3f5af9b95fe25f155a8c2faa (patch)
treeeb27ffb31ee8e42db15e9dca8efc715184f1c1a9 /sys-block/gpart
parentnet-news/snownews: remove olds (diff)
downloadgentoo-2-187bbfcd1cb668ff3f5af9b95fe25f155a8c2faa.tar.gz
gentoo-2-187bbfcd1cb668ff3f5af9b95fe25f155a8c2faa.tar.bz2
gentoo-2-187bbfcd1cb668ff3f5af9b95fe25f155a8c2faa.zip
fix arguments to llseek() syscall, not libc call #170203
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-block/gpart')
-rw-r--r--sys-block/gpart/files/gpart-0.1h-no-_syscall.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
index b50bcd2d75e9..fe68d08b6f4b 100644
--- a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
+++ b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
@@ -9,7 +9,7 @@ http://bugs.gentoo.org/163800
#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
-+#define _llseek(fildes,offset,whence) syscall(__NR__llseek,fildes,offset,whence)
++#define _llseek(fd,hi,lo,res,wh) syscall(__NR__llseek,fd,hi,lo,res,wh)
#endif