Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
qemu
0030-linux-user-getpriority-errno-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0030-linux-user-getpriority-errno-fix.patch of Package qemu
From 03004ec00de3f29699a6bb9458942ea111f528ed Mon Sep 17 00:00:00 2001 From: Ulrich Hecht <uli@suse.de> Date: Thu, 23 Jul 2009 17:55:41 +0200 Subject: [PATCH 30/33] linux-user: getpriority errno fix getpriority returned wrong errno; fixes LTP test getpriority02. Signed-off-by: Ulrich Hecht <uli@suse.de> --- linux-user/syscall.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b1ef3c9..30fb4ab 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -5327,7 +5327,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, /* libc does special remapping of the return value of * sys_getpriority() so it's just easiest to call * sys_getpriority() directly rather than through libc. */ - ret = sys_getpriority(arg1, arg2); + ret = get_errno(sys_getpriority(arg1, arg2)); break; case TARGET_NR_setpriority: ret = get_errno(setpriority(arg1, arg2, arg3)); -- 1.6.2.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor