diff mbox

btrfs-progs: don't output operational status information to stderr

Message ID 1422260798-8090-1-git-send-email-gux.fnst@cn.fujitsu.com (mailing list archive)
State Accepted
Headers show

Commit Message

Xing Gu Jan. 26, 2015, 8:26 a.m. UTC
Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
---
 utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba Jan. 27, 2015, 3:49 p.m. UTC | #1
On Mon, Jan 26, 2015 at 04:26:38PM +0800, Xing Gu wrote:
> Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/utils.c b/utils.c
index 9b08144..48f85b1 100644
--- a/utils.c
+++ b/utils.c
@@ -750,7 +750,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);
 		}