Fix #13 by taking reference of non-immediate value
This commit is contained in:
parent
cb880cab59
commit
c86f386048
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue