summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-01-08 06:47:46 +0000
committerBrian Jackson <iggy@gentoo.org>2004-01-08 06:47:46 +0000
commit9292f13f63e622eecfe918d5e12cb524104aff73 (patch)
tree574b8c251143bbd4a3ebff6e14308655471ef650 /sys-kernel/ia64-sources
parentadd amd64 for repoman again (Manifest recommit) (diff)
downloadgentoo-2-9292f13f63e622eecfe918d5e12cb524104aff73.tar.gz
gentoo-2-9292f13f63e622eecfe918d5e12cb524104aff73.tar.bz2
gentoo-2-9292f13f63e622eecfe918d5e12cb524104aff73.zip
fix mremap patch
Diffstat (limited to 'sys-kernel/ia64-sources')
-rw-r--r--sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch b/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch
index bacef69f02f8..dacf6ed810f9 100644
--- a/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch
+++ b/sys-kernel/ia64-sources/files/ia64-sources.CAN-2003-0985.patch
@@ -5,7 +5,7 @@
new_len = PAGE_ALIGN(new_len);
+ /* Don't allow the degenerate cases */
-+ if (!(old_len | new_len))
++ if (!old_len || !new_len)
+ goto out;
+
/* new_addr is only valid if MREMAP_FIXED is specified */