summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-bus/test-bus-objects.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-05 17:51:34 +0100
committerGitHub <noreply@github.com>2021-03-05 17:51:34 +0100
commit63dc82d378e1cfda8f560e8da9aa2df549c2b026 (patch)
treeb23222bcd0aefdb8851184cebd74e4801f1eb50c /src/libsystemd/sd-bus/test-bus-objects.c
parentMerge pull request #18885 from yuwata/udev-fix-import-program-rhbz-1935062 (diff)
parentefi: introduce UINT32_MAX and UINT64_MAX (diff)
downloadsystemd-63dc82d378e1cfda8f560e8da9aa2df549c2b026.tar.xz
systemd-63dc82d378e1cfda8f560e8da9aa2df549c2b026.zip
Merge pull request #18852 from yuwata/tree-wide-use-UINT64_MAX
tree-wide: use UINT64_MAX or friends
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-objects.c')
-rw-r--r--src/libsystemd/sd-bus/test-bus-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-objects.c b/src/libsystemd/sd-bus/test-bus-objects.c
index 5ef3f30c70..a71add4342 100644
--- a/src/libsystemd/sd-bus/test-bus-objects.c
+++ b/src/libsystemd/sd-bus/test-bus-objects.c
@@ -255,7 +255,7 @@ static void *server(void *p) {
}
if (r == 0) {
- r = sd_bus_wait(bus, (uint64_t) -1);
+ r = sd_bus_wait(bus, UINT64_MAX);
if (r < 0) {
log_error_errno(r, "Failed to wait: %m");
goto fail;