summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2006-04-05 20:52:07 +0000
committerhunt <hunt>2006-04-05 20:52:07 +0000
commitf38806c7db98222274d6ef2466d0966f85a797ac (patch)
tree34b068d32967cbfcd71921847458a4484d39463f
parent4b8a6dc2f049fe9e02490ca8f9505a3a693a7014 (diff)
downloadsystemtap-steved-f38806c7db98222274d6ef2466d0966f85a797ac.tar.gz
systemtap-steved-f38806c7db98222274d6ef2466d0966f85a797ac.tar.xz
systemtap-steved-f38806c7db98222274d6ef2466d0966f85a797ac.zip
2006-04-05 Martin Hunt <hunt@redhat.com>
* librelay.c (merge_output): Remove ANSI codes and write warning to stderr.
-rw-r--r--runtime/stpd/ChangeLog5
-rw-r--r--runtime/stpd/librelay.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog
index 813f566f..26b19c8f 100644
--- a/runtime/stpd/ChangeLog
+++ b/runtime/stpd/ChangeLog
@@ -1,6 +1,11 @@
2006-04-05 Martin Hunt <hunt@redhat.com>
+ * librelay.c (merge_output): Remove ANSI codes and write
+ warning to stderr.
+2006-04-05 Martin Hunt <hunt@redhat.com>
* librelay.c (merge_output): Set the output filename if necessary.
+ (merge_output):
+
* stpd.c (main): Don't reset output_filename just because
relayfs is possible. Move that code to librelay.c.
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c
index e1d9e499..d9968a41 100644
--- a/runtime/stpd/librelay.c
+++ b/runtime/stpd/librelay.c
@@ -626,7 +626,7 @@ static int merge_output(void)
fclose (fp[i]);
fclose (ofp);
if (dropped)
- printf ("\033[33mSequence had %d drops.\033[0m\n", dropped);
+ fprintf (stderr, "Sequence had %d drops.\n", dropped);
return 0;
}