]> granicus.if.org Git - strace/commitdiff
Emit better message for ERESTARTNOHAND return
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Mar 2013 15:56:35 +0000 (16:56 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Mar 2013 15:56:35 +0000 (16:56 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
syscall.c

index ffa0cd4aa9436d17ed21f028490f8bb69d0e1099..85875ec2cfda47c6fb64b408430fe18b8638ed48 100644 (file)
--- 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