btrfs-progs: btrfstune: print lowercase uuid during uuid rewrite
authorDavid Sterba <dsterba@suse.cz>
Thu, 18 Jun 2015 17:40:01 +0000 (19:40 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 18 Jun 2015 17:49:44 +0000 (19:49 +0200)
We're using lowercase everywhere else.

Reported-by: Mike Fleetwood <mike.fleetwood@googlemail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfstune.c

index bc8d53ca0e5e443f9b72bbcff6ce1e5a3d9197d7..4e42c5ceb417980556289dfcc89d10fdfa8c23f4 100644 (file)
@@ -350,10 +350,10 @@ static int change_uuid(struct btrfs_fs_info *fs_info, const char *new_fsid_str)
        fs_info->new_chunk_tree_uuid = new_chunk_id;
 
        uuid_parse((const char*)fs_info->fsid, old_fsid);
-       uuid_unparse_upper(old_fsid, uuid_buf);
+       uuid_unparse(old_fsid, uuid_buf);
        printf("Current fsid: %s\n", uuid_buf);
 
-       uuid_unparse_upper(new_fsid, uuid_buf);
+       uuid_unparse(new_fsid, uuid_buf);
        printf("New fsid: %s\n", uuid_buf);
        /* Now we can begin fsid change */
        printf("Set superblock flag CHANGING_FSID\n");