summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-03-03 14:01:02 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-03-05 07:10:13 +0900
commitef1e0b9a461c4baa12bdda47579c2c017209c3be (patch)
treeb2928249c657657213d2845ed04770b289b43e80 /src/mount
parent496db330041151138809c8f8579fa91d7897aabe (diff)
downloadsystemd-ef1e0b9a461c4baa12bdda47579c2c017209c3be.tar.gz
table: drop last SIZE_MAX from table_set_sort() and table_set_display()
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 4a8f46761a..8c36dec12a 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -1383,7 +1383,7 @@ static int list_devices(void) {
if (arg_full)
table_set_width(table, 0);
- r = table_set_sort(table, (size_t) 0, (size_t) SIZE_MAX);
+ r = table_set_sort(table, (size_t) 0);
if (r < 0)
return log_error_errno(r, "Failed to set sort index: %m");