aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-30 07:32:58 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-30 07:32:58 +0000
commit99b9331a4f693e66f880734cd446190fcf14508d (patch)
treee28fa7a497a1f756cd06d2e16ccb65be76af020c /sys/security
parent524683999f823c88d54f27742989ad2d3e03543c (diff)
downloadsrc-99b9331a4f693e66f880734cd446190fcf14508d.tar.gz
src-99b9331a4f693e66f880734cd446190fcf14508d.zip
Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
Notes
Notes: svn path=/head/; revision=97556
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/lomac/kernel_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/lomac/kernel_mmap.c b/sys/security/lomac/kernel_mmap.c
index 8e5330d3daa1..25e87920d4a6 100644
--- a/sys/security/lomac/kernel_mmap.c
+++ b/sys/security/lomac/kernel_mmap.c
@@ -207,7 +207,7 @@ mmap(td, uap)
/* Address range must be all in user VM space. */
if (VM_MAXUSER_ADDRESS > 0 && addr + size > VM_MAXUSER_ADDRESS)
return (EINVAL);
-#ifndef i386
+#ifndef __i386__
if (VM_MIN_ADDRESS > 0 && addr < VM_MIN_ADDRESS)
return (EINVAL);
#endif