From 182f41909fe2121d8e605441713d8d7fc8ded70a Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 18 Dec 2014 14:52:36 +0100 Subject: btrfs-progs: unify unit mode parameters and variables Use unsigned type and a common name everywhere. Signed-off-by: David Sterba --- cmds-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmds-device.c') diff --git a/cmds-device.c b/cmds-device.c index 13458d8..9dd52a4 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -465,7 +465,7 @@ const char * const cmd_device_usage_usage[] = { NULL }; -static int _cmd_device_usage(int fd, char *path, int mode) +static int _cmd_device_usage(int fd, char *path, unsigned unit_mode) { int i; int ret = 0; @@ -481,9 +481,9 @@ static int _cmd_device_usage(int fd, char *path, int mode) for (i = 0; i < devcount; i++) { printf("%s, ID: %llu\n", devinfo[i].path, devinfo[i].devid); - print_device_sizes(fd, &devinfo[i], mode); + print_device_sizes(fd, &devinfo[i], unit_mode); print_device_chunks(fd, &devinfo[i], chunkinfo, chunkcount, - mode); + unit_mode); printf("\n"); } -- cgit v1.2.1