X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Ftap.c;h=a54fd178d12f96cf9a32ac591754526c4149e4b4;hb=e2b465757cadd72353b3ce4ae2b9402d66750e3b;hp=940cc1ae4aefc6c44528ba37bc68b09f6dcd6096;hpb=48beefc91ce09133eac5a09bd856de83b86a54b6;p=lttng-ust.git diff --git a/tests/tap.c b/tests/tap.c index 940cc1ae..a54fd178 100644 --- a/tests/tap.c +++ b/tests/tap.c @@ -18,6 +18,7 @@ #include #include #include +#include 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);