All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xing Gu <gux.fnst@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Cc: Xing Gu <gux.fnst@cn.fujitsu.com>
Subject: [PATCH] btrfs-progs: don't output operational status information to stderr
Date: Mon, 26 Jan 2015 16:26:38 +0800	[thread overview]
Message-ID: <1422260798-8090-1-git-send-email-gux.fnst@cn.fujitsu.com> (raw)

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

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);
 		}
-- 
1.9.3


             reply	other threads:[~2015-01-26  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26  8:26 Xing Gu [this message]
2015-01-27 15:49 ` [PATCH] btrfs-progs: don't output operational status information to stderr David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422260798-8090-1-git-send-email-gux.fnst@cn.fujitsu.com \
    --to=gux.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.