diff options
-rw-r--r-- | runtime/stpd/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 2 |
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; } |