From 070a43ced463e9c578150a00f2390366ffc89a62 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 8 Jul 2024 13:38:09 +0200 Subject: [PATCH] mount-tool: use lowercase table column names The "systemd-mount" tool is the one outlier in our codebase to specify upper case column names. And it's quite pointless given that our table output logic uppercases this anyway on output. Hence, let's fix that. (This would be a compat break, if we'd support JSON output of this table, but we do not currently. JSON fields use the literal column name after all.) --- src/mount/mount-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index 8ac08e95b8d..a0ca17f0f07 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -1424,7 +1424,7 @@ static int list_devices(void) { if (r < 0) return log_error_errno(r, "Failed to add property match: %m"); - table = table_new("NODE", "PATH", "MODEL", "WWN", "FSTYPE", "LABEL", "UUID"); + table = table_new("node", "path", "model", "wwn", "fstype", "label", "uuid"); if (!table) return log_oom(); -- 2.47.3