From: Lennart Poettering Date: Mon, 8 Jul 2024 11:38:09 +0000 (+0200) Subject: mount-tool: use lowercase table column names X-Git-Tag: v257-rc1~930^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=070a43ced463e9c578150a00f2390366ffc89a62;p=thirdparty%2Fsystemd.git 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.) --- 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();