mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 13:27:45 +00:00
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.
This commit is contained in:
1 parent
c0fd9cefbc
commit
ca45507a19
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user