summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-01-08 06:29:03 +0000
committerBrian Jackson <iggy@gentoo.org>2004-01-08 06:29:03 +0000
commit88b45b09dcd66c66ed8c15f5b7130bc18c979330 (patch)
tree430b4874de91337096ed50a42af18fee92f16f92 /sys-kernel/aa-sources
parentremove ~mips and ~arm KEYWORDS due to lack of support, ready for new repoman. (diff)
downloadhistorical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.tar.gz
historical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.tar.bz2
historical-88b45b09dcd66c66ed8c15f5b7130bc18c979330.zip
fix mremap patch
Diffstat (limited to 'sys-kernel/aa-sources')
-rw-r--r--sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch b/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch
index bacef69f02f8..dacf6ed810f9 100644
--- a/sys-kernel/aa-sources/files/aa-sources-2.4.23.CAN-2003-0985.patch
+++ b/sys-kernel/aa-sources/files/aa-sources-2.4.23.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 */