summaryrefslogtreecommitdiff
path: root/cmds-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 7915bc97..5416ea1a 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -535,7 +535,7 @@ static int _cmd_device_usage(int fd, char *path, unsigned unit_mode)
for (i = 0; i < devcount; i++) {
printf("%s, ID: %llu\n", devinfo[i].path, devinfo[i].devid);
- print_device_sizes(fd, &devinfo[i], unit_mode);
+ print_device_sizes(&devinfo[i], unit_mode);
print_device_chunks(fd, &devinfo[i], chunkinfo, chunkcount,
unit_mode);
printf("\n");