Wang Shilong
2014-Feb-10 12:36 UTC
[PATCH] Btrfs-progs: receive: don't output normal message into stderr
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Don't output normal messages into stderr, this make xfstests filter output easier. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> --- cmds-receive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-receive.c b/cmds-receive.c index cce37a7..2d55c53 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -213,7 +213,7 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid, free(r->full_subvol_path); r->full_subvol_path = path_cat3(r->root_path, r->dest_dir_path, path); - fprintf(stderr, "At snapshot %s\n", path); + fprintf(stdout, "At snapshot %s\n", path); memcpy(r->cur_subvol->received_uuid, uuid, BTRFS_UUID_SIZE); r->cur_subvol->stransid = ctransid; -- 1.8.4 -- 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