summaryrefslogtreecommitdiff
path: root/vm/vm_map.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-11 01:12:24 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:55 +0200
commit571472f6ac1e63fda8ef49e44b83334ad5431aff (patch)
tree7459015d016840c8f85a39a987907f6b1f11c0fe /vm/vm_map.c
parent3d98b08858cb57bae632b4800c3e0fcff3f04fa9 (diff)
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix ``assignment used as truth value'' warnings. * device/cons.c (cninit): Add parenthesis. * kern/bootstrap.c (copy_bootstrap): Likewise. * kern/printf.c (_doprnt): Likewise. * vm/vm_map.c (vm_map_lookup): Likewise.
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r--vm/vm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 4f358bd..6f8fb34 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -4391,7 +4391,7 @@ kern_return_t vm_map_lookup(var_map, vaddr, fault_type, out_version,
* it for all possible accesses.
*/
- if (*wired = (entry->wired_count != 0))
+ if ((*wired = (entry->wired_count != 0)))
prot = fault_type = entry->protection;
/*