From d9aea489b94fc1862a30104c2a6b1013826cd5ad Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 16 May 2018 19:28:43 +1000 Subject: [PATCH] Silence possibly inadequate space warning with -f and -q options. --- rzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rzip.c b/rzip.c index 664b3de..25d134b 100644 --- a/rzip.c +++ b/rzip.c @@ -964,7 +964,7 @@ void rzip_fd(rzip_control *control, int fd_in, int fd_out) free_space = (i64)fbuf.f_bsize * (i64)fbuf.f_bavail; if (free_space < control->st_size) { if (FORCE_REPLACE) - print_err("Warning, possibly inadequate free space detected, but attempting to compress due to -f option being used.\n"); + print_output("Warning, possibly inadequate free space detected, but attempting to compress due to -f option being used.\n"); else { dealloc(st); failure("Possibly inadequate free space to compress file, use -f to override.\n");