* [PATCH] btrfs-progs: don't output operational status information to stderr
@ 2015-01-26 8:26 Xing Gu
2015-01-27 15:49 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Xing Gu @ 2015-01-26 8:26 UTC (permalink / raw)
To: linux-btrfs; +Cc: Xing Gu
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs-progs: don't output operational status information to stderr
2015-01-26 8:26 [PATCH] btrfs-progs: don't output operational status information to stderr Xing Gu
@ 2015-01-27 15:49 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2015-01-27 15:49 UTC (permalink / raw)
To: Xing Gu; +Cc: linux-btrfs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-27 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26 8:26 [PATCH] btrfs-progs: don't output operational status information to stderr Xing Gu
2015-01-27 15:49 ` David Sterba
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.