summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-02-24 17:58:58 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-02-24 17:58:58 +0000
commit2ff368c4277018cc61f86b568da3c6781df1c8eb (patch)
treeb37e68595c972fa37965129fa00d9f4eb5aa73e5 /sys-kernel
parentDisabling fft, per bug #42549 by qube99@hotmail.com (Manifest recommit) (diff)
downloadgentoo-2-2ff368c4277018cc61f86b568da3c6781df1c8eb.tar.gz
gentoo-2-2ff368c4277018cc61f86b568da3c6781df1c8eb.tar.bz2
gentoo-2-2ff368c4277018cc61f86b568da3c6781df1c8eb.zip
Fixed broken munmap patch.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/pac-sources/files/pac-sources.munmap.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/pac-sources/files/pac-sources.munmap.patch b/sys-kernel/pac-sources/files/pac-sources.munmap.patch
index 3c01b3447ec6..d2cf4f4303f4 100644
--- a/sys-kernel/pac-sources/files/pac-sources.munmap.patch
+++ b/sys-kernel/pac-sources/files/pac-sources.munmap.patch
@@ -5,7 +5,7 @@
goto out;
- do_munmap(current->mm, new_addr, new_len, 1);
-+ ret = do_munmap(current->mm, new_addr, new_len);
++ ret = do_munmap(current->mm, new_addr, new_len, 1);
+ if (ret && new_len)
+ goto out;
}
@@ -18,7 +18,7 @@
- ret = addr;
if (old_len >= new_len) {
- do_munmap(current->mm, addr+new_len, old_len - new_len, 1);
-+ ret = do_munmap(current->mm, addr+new_len, old_len - new_len);
++ ret = do_munmap(current->mm, addr+new_len, old_len - new_len, 1);
+ if (ret && old_len != new_len)
+ goto out;
+ ret = addr;