summaryrefslogtreecommitdiff
path: root/cmds-fi-usage.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-10-26 20:44:55 +0200
committerDavid Sterba <dsterba@suse.com>2017-11-14 15:59:00 +0100
commitcce43f926200febfd8dedd60b774b32e540ab761 (patch)
treeb57d31d35a9f05940e85cac0ba55513905005ad7 /cmds-fi-usage.c
parentb1dac5996bdfa0ba58ea2e545ce1f1af25b99a7d (diff)
btrfs-progs: don't use __u8 for fsid buffers
The underscore types are for ioctl structures and should not be used for regular code that does not need them. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-fi-usage.c')
-rw-r--r--cmds-fi-usage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-fi-usage.c b/cmds-fi-usage.c
index 83d0c589..0b0e47fe 100644
--- a/cmds-fi-usage.c
+++ b/cmds-fi-usage.c
@@ -508,7 +508,7 @@ static int cmp_device_info(const void *a, const void *b)
((struct device_info *)b)->path);
}
-int dev_to_fsid(const char *dev, __u8 *fsid)
+int dev_to_fsid(const char *dev, u8 *fsid)
{
struct btrfs_super_block *disk_super;
char buf[BTRFS_SUPER_INFO_SIZE];