Module: wine Branch: master Commit: ef4981bd5b2d33c7f9be28ce00c0002b37980a18 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef4981bd5b2d33c7f9be28ce00...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 21 16:00:16 2013 +0100
libwine: Hardcode Linux syscall numbers.
---
libs/wine/ldt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/wine/ldt.c b/libs/wine/ldt.c index 85a835b..5175e9c 100644 --- a/libs/wine/ldt.c +++ b/libs/wine/ldt.c @@ -70,7 +70,7 @@ static inline void fill_modify_ldt_struct( struct modify_ldt_s *ptr, const LDT_E
static inline int modify_ldt( int func, struct modify_ldt_s *ptr, unsigned long count ) { - return syscall( SYS_modify_ldt, func, ptr, count ); + return syscall( 123 /* SYS_modify_ldt */, func, ptr, count ); }
static inline int set_thread_area( struct modify_ldt_s *ptr )