Skip to content

Commit 77f7fe4

Browse files
committed
Auto merge of japaric#14 - tbu-:pr_x86_syscall6_ice, r=japaric
Fix japaric#13 by taking reference of non-immediate value
2 parents 847debb + c86f386 commit 77f7fe4

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)