diff options
-rw-r--r-- | src/mount/mount-tool.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index 90feb2f197..29bde2ab8e 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -1410,18 +1410,18 @@ static int discover_device(void) { return 0; } -enum { - COLUMN_NODE, - COLUMN_PATH, - COLUMN_MODEL, - COLUMN_WWN, - COLUMN_FSTYPE, - COLUMN_LABEL, - COLUMN_UUID, - _COLUMN_MAX, -}; - static int list_devices(void) { + enum { + COLUMN_NODE, + COLUMN_PATH, + COLUMN_MODEL, + COLUMN_WWN, + COLUMN_FSTYPE, + COLUMN_LABEL, + COLUMN_UUID, + _COLUMN_MAX, + }; + _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL; _cleanup_(table_unrefp) Table *table = NULL; int r; |