Skip to content

Commit c86f386

Browse files
committed
Fix japaric#13 by taking reference of non-immediate value
1 parent cb880ca commit c86f386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/linux-x86/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub unsafe fn syscall6(n: usize,
134134
int $$0x80
135135
pop %ebp"
136136
: "={eax}"(ret)
137-
: "{eax}"(args)
137+
: "{eax}"(&args)
138138
: "ebx" "ecx" "edx" "esi" "edi" "ebp" "memory" "cc"
139139
: "volatile");
140140
ret

0 commit comments

Comments
 (0)