Auto merge of #14 - tbu-:pr_x86_syscall6_ice, r=japaric

Fix #13 by taking reference of non-immediate value
This commit is contained in:
homunkulus 2017-02-23 18:23:50 +00:00
commit 77f7fe4fdc

View file

@ -134,7 +134,7 @@ pub unsafe fn syscall6(n: usize,
int $$0x80
pop %ebp"
: "={eax}"(ret)
: "{eax}"(args)
: "{eax}"(&args)
: "ebx" "ecx" "edx" "esi" "edi" "ebp" "memory" "cc"
: "volatile");
ret