btrfs-progs: avoid to use numeric literal for the size of uuid buffer

Replace a numeric literal to more descriptive macro for
the size of uuid buffer.

Signed-of-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
Satoru Takeuchi 2014-08-11 18:12:16 +09:00 committed by David Sterba
parent 092a9bdd64
commit cfee4bc139
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ static int cmd_show(int argc, char **argv)
char mp[BTRFS_PATH_NAME_MAX + 1];
char path[PATH_MAX];
__u8 fsid[BTRFS_FSID_SIZE];
char uuid_buf[37];
char uuid_buf[BTRFS_UUID_UNPARSED_SIZE];
int found = 0;
while (1) {