From cfee4bc139ccb0e1332ec5f108ecb9dd1932e451 Mon Sep 17 00:00:00 2001 From: Satoru Takeuchi Date: Mon, 11 Aug 2014 18:12:16 +0900 Subject: [PATCH] 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 Signed-off-by: David Sterba --- cmds-filesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 1dc686eb..7e8ca950 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -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) {