summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-02-19 16:59:26 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-02-19 16:59:26 +0100
commit30c03230a8a5ba41d183279dcd6d0668940267db (patch)
treedbc5ffd4164127f15c253bbce9acd22c204f3b59 /syscall.c
parentf909c8d0d759d0511ad2c741854602b0494e0390 (diff)
downloadstrace-30c03230a8a5ba41d183279dcd6d0668940267db.tar.gz
strace-30c03230a8a5ba41d183279dcd6d0668940267db.tar.bz2
strace-30c03230a8a5ba41d183279dcd6d0668940267db.tar.xz
Improve comment text. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/syscall.c b/syscall.c
index 5c0d580..a1e33e1 100644
--- a/syscall.c
+++ b/syscall.c
@@ -2464,8 +2464,9 @@ trace_syscall_exiting(struct tcb *tcp)
/* pause(), rt_sigsuspend() etc use this code.
* SA_RESTART is ignored (assumed not set):
* syscall won't restart (will return EINTR instead)
- * even after signal with SA_RESTART set.
- * However, after SIG_IGN or SIG_DFL signal it will.
+ * even after signal with SA_RESTART set. However,
+ * after SIG_IGN or SIG_DFL signal it will restart
+ * (thus the name "restart only if has no handler").
*/
tprints("= ? ERESTARTNOHAND (Interrupted by signal)");
break;