summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2011-08-29 16:12:01 -0400
committerAustin Clements <[email protected]>2011-08-29 16:12:01 -0400
commita7061b4f9717e85ebedf87244921d37babc5d8f4 (patch)
treed0da825082a1c7f179f2e8b04f1c9b9a6ccbe9e0 /vm.c
parent16f205b5c9de7b49dcff44f2f14377799624083a (diff)
downloadxv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.gz
xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.bz2
xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.zip
Style nits; indentation and tabs
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 59c95ca..32775a1 100644
--- a/vm.c
+++ b/vm.c
@@ -137,7 +137,7 @@ setupkvm(char* (*alloc)(void))
panic("PHYSTOP too high");
for(k = kmap; k < &kmap[NELEM(kmap)]; k++)
if(mappages(pgdir, k->virt, k->phys_end - k->phys_start, (uint)k->phys_start,
- k->perm, alloc) < 0)
+ k->perm, alloc) < 0)
return 0;
return pgdir;