From ca45507a199395efbb6c486b809ca0e609f9bc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 30 Oct 2026 18:41:39 +0100 Subject: [PATCH] test-bus-chat: convert to new ASSERT macros Replace assert_se() with the typed ASSERT_* macros throughout, so that a failing assertion logs the values involved. --- src/libsystemd/sd-bus/test-bus-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-bus/test-bus-chat.c b/src/libsystemd/sd-bus/test-bus-chat.c index 60115b18a3c..e29d25d06fc 100644 --- a/src/libsystemd/sd-bus/test-bus-chat.c +++ b/src/libsystemd/sd-bus/test-bus-chat.c @@ -502,7 +502,7 @@ finish: static ino_t get_inode(int fd) { struct stat st; - assert_se(fstat(fd, &st) >= 0); + ASSERT_OK_ERRNO(fstat(fd, &st)); return st.st_ino; }