Add missing -lpthread to some tests
[ust.git] / tests / tap.c
index 940cc1ae4aefc6c44528ba37bc68b09f6dcd6096..a54fd178d12f96cf9a32ac591754526c4149e4b4 100644 (file)
@@ -18,6 +18,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <string.h>
 
 static int tap_planned = -1;
 static int tap_count = 1;
@@ -36,7 +37,7 @@ static void *_tap_comment_stdout(void *_unused)
                if (strncmp(line, "_TAP", 4)) {
                        fprintf(normal_stdout, "# %s", line);
                } else {
-                       fprintf(normal_stdout, &line[4]);
+                       fprintf(normal_stdout, "# %s", &line[4]);
                }
        }
        pthread_exit(0);
This page took 0.023133 seconds and 4 git commands to generate.