]> granicus.if.org Git - strace/commitdiff
Improve comment text. No code changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Feb 2013 15:59:26 +0000 (16:59 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Feb 2013 15:59:26 +0000 (16:59 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
syscall.c

index 5c0d5808939c846d432bbf50adbdca4ab8185d06..a1e33e1a05c55234cf8e80b3a34bf0efe2b23d2f 100644 (file)
--- 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;