aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/micro-bunzip/micro-bunzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/micro-bunzip/micro-bunzip.c')
-rw-r--r--test/monniaux/micro-bunzip/micro-bunzip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/monniaux/micro-bunzip/micro-bunzip.c b/test/monniaux/micro-bunzip/micro-bunzip.c
index 532fc7b5..7197ede5 100644
--- a/test/monniaux/micro-bunzip/micro-bunzip.c
+++ b/test/monniaux/micro-bunzip/micro-bunzip.c
@@ -520,8 +520,6 @@ extern char *uncompressStream(int src_fd, int dst_fd)
int main(int argc, char *argv[])
{
char *c=uncompressStream(0,1);
- extern FILE *fdopen(int fd, const char *mode);
- FILE *err = fdopen(2, "w");
- fprintf(err, "%s\ncycles=%lu\n", c ? c : "Completed OK", get_total_clock());
+ fprintf(stderr, "%s\ncycles=%lu\n", c ? c : "Completed OK", get_total_clock());
return 0;
}