From d7c131759da885763b38e032f35f7b1779b00108 Mon Sep 17 00:00:00 2001 From: Xing Gu Date: Mon, 26 Jan 2015 16:26:38 +0800 Subject: btrfs-progs: don't output operational status information to stderr Signed-off-by: Xing Gu Signed-off-by: David Sterba --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index a818950f..6228c7fe 100644 --- a/utils.c +++ b/utils.c @@ -746,7 +746,7 @@ int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret, * optimization. */ if (discard_range(fd, 0, 0) == 0) { - fprintf(stderr, "Performing full device TRIM (%s) ...\n", + printf("Performing full device TRIM (%s) ...\n", pretty_size(block_count)); discard_blocks(fd, 0, block_count); } -- cgit v1.2.3