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:
parent
092a9bdd64
commit
cfee4bc139
|
@ -547,7 +547,7 @@ static int cmd_show(int argc, char **argv)
|
||||||
char mp[BTRFS_PATH_NAME_MAX + 1];
|
char mp[BTRFS_PATH_NAME_MAX + 1];
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
__u8 fsid[BTRFS_FSID_SIZE];
|
__u8 fsid[BTRFS_FSID_SIZE];
|
||||||
char uuid_buf[37];
|
char uuid_buf[BTRFS_UUID_UNPARSED_SIZE];
|
||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
Loading…
Reference in New Issue