Fix #13 by taking reference of non-immediate value

This commit is contained in:
Tobias Bucher 2017-02-19 23:18:03 +01:00
parent cb880cab59
commit c86f386048

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