diff options
Diffstat (limited to 'newlib/libc/sys/linux/machine')
-rw-r--r-- | newlib/libc/sys/linux/machine/i386/socketcall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/machine/i386/socketcall.h b/newlib/libc/sys/linux/machine/i386/socketcall.h index bd83d5175..07908767f 100644 --- a/newlib/libc/sys/linux/machine/i386/socketcall.h +++ b/newlib/libc/sys/linux/machine/i386/socketcall.h @@ -18,7 +18,7 @@ #define __sockcall_base(type, name) \ { \ long __res; \ -__asm__ volatile ("push %%ebx; movl %2,%%ebx; lea 8(%%esp),%%ecx; int $0x80; pop %%ebx" \ +__asm__ volatile ("push %%ebx; movl %2,%%ebx; lea 8(%%ebp),%%ecx; int $0x80; pop %%ebx" \ : "=a" (__res) \ : "0" (__NR_socketcall),"r" (SOCK_##name)); \ __syscall_return(type,__res); \ |