summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 16:56:35 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 16:56:35 +0100
commitaba62927974603bb1ac0b659f6a4f8afb9899c83 (patch)
treeee1bf8904d1f9ce9dda0911cb6b3533e4a94fb6a /syscall.c
parentcc90291f4b4e6b042e977e2e58fb002a61189abe (diff)
downloadstrace-aba62927974603bb1ac0b659f6a4f8afb9899c83.tar.gz
strace-aba62927974603bb1ac0b659f6a4f8afb9899c83.tar.bz2
strace-aba62927974603bb1ac0b659f6a4f8afb9899c83.tar.xz
Emit better message for ERESTARTNOHAND return
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index ffa0cd4..85875ec 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