summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-18 19:40:01 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-18 19:49:44 +0200
commit6107844cd58c94eecbf65d8199e0a4dc61db2f29 (patch)
treeb2078c6db6348cace39027450db99c65e651ab79
parent4b4d742b26bb81575f67002ac7f3b7a0efffbd95 (diff)
btrfs-progs: btrfstune: print lowercase uuid during uuid rewrite
We're using lowercase everywhere else. Reported-by: Mike Fleetwood <mike.fleetwood@googlemail.com> Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--btrfstune.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfstune.c b/btrfstune.c
index bc8d53ca..4e42c5ce 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -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");