summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-25 14:47:43 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-25 14:47:43 -0800
commitf1674fb06e3c5c45438a711341367c40375ad853 (patch)
treeab2e8ba5575831a25af93cb3ceee0396140f7bef
parente0298c88e927849e7f10d4dd0318907886cd50a1 (diff)
downloadsyslinux-f1674fb06e3c5c45438a711341367c40375ad853.tar.gz
rep; cmpsw -> repe; cmpsw
Same instruction, but repe is more correct for cmpsw
-rw-r--r--mbr/gptmbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index a6b2607e..430841b6 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -153,7 +153,7 @@ find_part:
addw $16,%si
movw $bootguid,%di
movw $8,%cx
- rep; cmpsw
+ repe; cmpsw
popw %si
popw %cx
je found_part