btrfs-progs: mkfs: print the new UUID
authorDavid Sterba <dsterba@suse.com>
Thu, 10 Nov 2016 17:23:01 +0000 (18:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 11 Nov 2016 15:25:18 +0000 (16:25 +0100)
Unless the uuid is specified as the command line option, it's not
printed in the summary.

Signed-off-by: David Sterba <dsterba@suse.com>
mkfs.c

diff --git a/mkfs.c b/mkfs.c
index baff706..e501a93 100644 (file)
--- a/mkfs.c
+++ b/mkfs.c
@@ -1895,7 +1895,7 @@ raid_groups:
                char features_buf[64];
 
                printf("Label:              %s\n", label);
-               printf("UUID:               %s\n", fs_uuid);
+               printf("UUID:               %s\n", mkfs_cfg.fs_uuid);
                printf("Node size:          %u\n", nodesize);
                printf("Sector size:        %u\n", sectorsize);
                printf("Filesystem size:    %s\n",