From 6f05fdfc888b06e7fba44945b4f73e361855c18a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 19 Oct 2017 13:28:58 +0200 Subject: [PATCH] CHG: fpga_comress sending no-error messages to stderr (@merlokk) https://github.com/Proxmark/proxmark3/commit/36b1cdd1b4064e1a506b5bab0d00e61b91cb10b2 --- client/fpga_compress.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/fpga_compress.c b/client/fpga_compress.c index 53ab4b0b2..b2a3a8d67 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -43,12 +43,12 @@ static void usage(void) { - fprintf(stderr, "Usage: fpga_compress ... \n"); - fprintf(stderr, " Combine n FPGA bitstream files and compress them into one.\n\n"); - fprintf(stderr, " fpga_compress -d "); - fprintf(stderr, " Decompress . Write result to "); - fprintf(stderr, " fpga_compress -t "); - fprintf(stderr, " Compress hardnested table . Write result to "); + fprintf(stdout, "Usage: fpga_compress ... \n"); + fprintf(stdout, " Combine n FPGA bitstream files and compress them into one.\n\n"); + fprintf(stdout, " fpga_compress -d "); + fprintf(stdout, " Decompress . Write result to "); + fprintf(stdout, " fpga_compress -t "); + fprintf(stdout, " Compress hardnested table . Write result to "); } @@ -150,7 +150,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardn ret = deflate(&compressed_fpga_stream, Z_FINISH); } - fprintf(stderr, "compressed %u input bytes to %lu output bytes\n", i, compressed_fpga_stream.total_out); + fprintf(stdout, "compressed %u input bytes to %lu output bytes\n", i, compressed_fpga_stream.total_out); if (ret != Z_STREAM_END) { fprintf(stderr, "Error in deflate(): %d %s\n", ret, compressed_fpga_stream.msg);