From: Denys Vlasenko Date: Tue, 5 Mar 2013 15:56:35 +0000 (+0100) Subject: Emit better message for ERESTARTNOHAND return X-Git-Tag: v4.8~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba62927974603bb1ac0b659f6a4f8afb9899c83;p=strace Emit better message for ERESTARTNOHAND return Signed-off-by: Denys Vlasenko --- diff --git a/syscall.c b/syscall.c index ffa0cd4a..85875ec2 100644 --- a/syscall.c +++ b/syscall.c @@ -2568,7 +2568,7 @@ trace_syscall_exiting(struct tcb *tcp) * after SIG_IGN or SIG_DFL signal it will restart * (thus the name "restart only if has no handler"). */ - tprints("= ? ERESTARTNOHAND (Interrupted by signal)"); + tprints("= ? ERESTARTNOHAND (To be restarted if no handler)"); break; case ERESTART_RESTARTBLOCK: /* Syscalls like nanosleep(), poll() which can't be