Fix nanosleep decoding: second argument was not shown after success
* time.c (sys_nanosleep): Fix bug - inverted is_restart_error() check. * syscall.c (is_restart_error): Remove redundant check. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
3af224c5cd
commit
ea051f7533
@ -716,8 +716,6 @@ int
|
||||
is_restart_error(struct tcb *tcp)
|
||||
{
|
||||
#ifdef LINUX
|
||||
if (!syserror(tcp))
|
||||
return 0;
|
||||
switch (tcp->u_error) {
|
||||
case ERESTARTSYS:
|
||||
case ERESTARTNOINTR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user