Btrfs-progs: receive: don't output normal message into stderr
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Mon, 10 Feb 2014 12:36:37 +0000 (20:36 +0800)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:12 +0000 (06:23 -0700)
Don't output normal messages into stderr, this make xfstests
filter output easier.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-receive.c

index cce37a7aefec20f64470316d1ce809acb0640f77..2d55c539dd8cd376ea9f72177c6f70849c3a292a 100644 (file)
@@ -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;