From 976baf26d3f498f7d525cb484f93caf96e5c10e5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 22 Feb 2023 19:00:28 +0100 Subject: [PATCH] systemctl: read 64bit integers into uint64_t usec_t is also a uint64_t internally, hence this doesn't actually change anything. However, on the conceptual level, sd-bus expects a uint64_t hence give it one. --- src/systemctl/systemctl-list-units.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl-list-units.c b/src/systemctl/systemctl-list-units.c index 131553d96ec..8e537300782 100644 --- a/src/systemctl/systemctl-list-units.c +++ b/src/systemctl/systemctl-list-units.c @@ -774,7 +774,7 @@ static int automount_info_compare(const struct automount_info *a, const struct a static int collect_automount_info(sd_bus* bus, const UnitInfo* info, struct automount_info *ret_info) { _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_free_ char *mount = NULL, *mount_path = NULL, *where = NULL, *what = NULL, *state = NULL; - usec_t timeout_idle_usec; + uint64_t timeout_idle_usec; BusLocator locator; int r; -- 2.47.3