Skip to content

Commit 50cab6e

Browse files
alexandruagandreeaflorescu
authored andcommitted
x86_64/regs.rs: fixed tests::segments_and_regs()
Signed-off-by: Alexandru Agache <[email protected]>
1 parent 29dd058 commit 50cab6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x86_64/src/regs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ mod tests {
299299
assert_eq!(0xfffff, sregs.tr.limit);
300300
assert_eq!(0, sregs.tr.avl);
301301
assert_eq!(X86_CR0_PE, sregs.cr0);
302-
assert_eq!(EFER_LME, sregs.efer);
302+
assert_eq!(EFER_LME | EFER_LMA, sregs.efer);
303303
}
304304

305305
#[test]

0 commit comments

Comments
 (0)