mirror of
https://github.com/golang/go
synced 2024-11-20 02:04:39 -07:00
runtime: fix bug introduced in revision 4a01b8d28570
R=rsc CC=golang-dev https://golang.org/cl/1874046
This commit is contained in:
parent
adc13b1e48
commit
45e12c7cd3
@ -287,7 +287,7 @@ void
|
||||
call_syscall(void *args)
|
||||
{
|
||||
StdcallParams *p = (StdcallParams*)args;
|
||||
stdcall_raw(SetLastError, 1, 0);
|
||||
stdcall_raw(SetLastError, 0);
|
||||
p->r = (uintptr)stdcall_raw((void*)p->fn, p->args[0], p->args[1], p->args[2], p->args[3], p->args[4], p->args[5], p->args[6], p->args[7], p->args[8], p->args[9], p->args[10], p->args[11]);
|
||||
p->err = (uintptr)stdcall_raw(GetLastError);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user