]> granicus.if.org Git - strace/commitdiff
Clean up two old comments
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 24 Jun 2011 20:54:25 +0000 (22:54 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Fri, 24 Jun 2011 20:54:25 +0000 (22:54 +0200)
* strace.c (startup_attach): Remove misplaced comment.
  (trace) Remove incomplete part of a comment.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
strace.c

index c3fd94838e1ee910b688c6e0edc353b849e9783d..0b823606f41bb443964b8c414c60a783bbb2f3cd 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -517,7 +517,6 @@ startup_attach(void)
                }
                if (debug)
                        fprintf(stderr, "attach to pid %d (main) succeeded\n", tcp->pid);
-               /* INTERRUPTED is going to be checked at the top of TRACE.  */
 
                if (daemonized_tracer) {
                        /*
@@ -2687,7 +2686,7 @@ Process %d attached (waiting for parent)\n",
                        if (tcp->flags & TCB_ATTACHED) {
                                if (tcp_last) {
                                        /* Do we have dangling line "syscall(param, param"?
-                                        * Finish the line then. We cannot
+                                        * Finish the line then.
                                         */
                                        tcp_last->flags |= TCB_REPRINT;
                                        tprintf(" <unfinished ...>");