Skip to content

Commit 696b8b7

Browse files
committed
fix typo in x86 register constants
1 parent ae06c2b commit 696b8b7

File tree

1 file changed

+1
-1
lines changed
  • src/unix/notbsd/linux/other/b32

1 file changed

+1
-1
lines changed

src/unix/notbsd/linux/other/b32/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ pub const REG_EIP: ::c_int = 14;
777777
pub const REG_CS: ::c_int = 15;
778778
pub const REG_EFL: ::c_int = 16;
779779
pub const REG_UESP: ::c_int = 17;
780-
pub const REG_S: ::c_int = 18;
780+
pub const REG_SS: ::c_int = 18;
781781

782782
extern {
783783
pub fn getcontext(ucp: *mut ucontext_t) -> ::c_int;

0 commit comments

Comments
 (0)