diff options
author | David Sterba <dsterba@suse.cz> | 2013-12-10 18:17:10 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:13 -0800 |
commit | d47b4e4dd284a7668b517671d4dd5de35e8a912d (patch) | |
tree | cdaaa90a4dd6a95b17f0c89cd4136609c8566514 /send-test.c | |
parent | b085b145b6a476b0f864d741bdf1196a39a87fc0 (diff) |
btrfs-progs: convert remaining uuid buffer declarations to BTRFS_UUID_UNPARSED_SIZE
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'send-test.c')
-rw-r--r-- | send-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/send-test.c b/send-test.c index a37b7fd6..5f7c3111 100644 --- a/send-test.c +++ b/send-test.c @@ -72,7 +72,7 @@ static int print_subvol(const char *path, const u8 *uuid, u64 ctransid, void *user) { struct recv_args *r = user; - char uuid_str[128]; + char uuid_str[BTRFS_UUID_UNPARSED_SIZE]; r->full_subvol_path = path_cat(r->root_path, path); uuid_unparse(uuid, uuid_str); @@ -88,8 +88,8 @@ static int print_snapshot(const char *path, const u8 *uuid, u64 ctransid, void *user) { struct recv_args *r = user; - char uuid_str[128]; - char parent_uuid_str[128]; + char uuid_str[BTRFS_UUID_UNPARSED_SIZE]; + char parent_uuid_str[BTRFS_UUID_UNPARSED_SIZE]; r->full_subvol_path = path_cat(r->root_path, path); uuid_unparse(uuid, uuid_str); |