summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-01-08 06:23:54 +0000
committerBrian Jackson <iggy@gentoo.org>2004-01-08 06:23:54 +0000
commit1e19a65d17cba608a3f1e9dd970447cb37c4dc5f (patch)
treeeb2f05fdd7c455c58b56e24dc450ff38142695a8 /sys-kernel/aa-sources
parentfixed up a few repoman things (dates, digest-2.4.23, etc.) (Manifest recommit) (diff)
downloadgentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.tar.gz
gentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.tar.bz2
gentoo-2-1e19a65d17cba608a3f1e9dd970447cb37c4dc5f.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 */