diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-08 03:40:17 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-08 03:40:17 +0100 |
commit | 43212f64320c2e136eb3d4adb5d3e8c31c637386 (patch) | |
tree | eac0b53ae6d38604f94e77e37cbf8a874e1d28d3 | |
parent | 7af85b9e74ab055d55ad20ce8dd6d9caf002d525 (diff) |
mtrr: fix mistake
-rw-r--r-- | sys/src/9/pc/mtrr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/mtrr.c b/sys/src/9/pc/mtrr.c index b92835d79..1d5901693 100644 --- a/sys/src/9/pc/mtrr.c +++ b/sys/src/9/pc/mtrr.c @@ -295,7 +295,7 @@ mtrr(uvlong base, uvlong size, char *tstr) for(i = 0; i < vcnt; i++){ mtrrget(&mtrr, i); mok = mtrrdec(&mtrr, &mp, &msize, &mtype); - if(slot == -1 && !mok || mtype == (def & Deftype)) + if(slot == -1 && (!mok || mtype == (def & Deftype))) slot = i; /* good, but look further for exact match */ if(mok && mp == base && msize == size){ slot = i; |