summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/boot/pc/pbs.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/boot/pc/pbs.s b/sys/src/boot/pc/pbs.s
index 8a11b8279..5f9dcfabb 100644
--- a/sys/src/boot/pc/pbs.s
+++ b/sys/src/boot/pc/pbs.s
@@ -107,7 +107,7 @@ TEXT start16(SB), $0
CLR(rCX)
LB(_nfats(SB), rCL)
MUL(rCX)
- OR(rCX, rCX)
+ OR(rAX, rAX)
JNE _fatszok /* zero? it's FAT32 */
LW(_fatsz32hi(SB), rBX)