From 0a0abc373c07a7744adac48891a393e0882fdb6f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 04:19:40 +0200 Subject: Merging upstream version 252.25. Signed-off-by: Daniel Baumann --- src/shared/clean-ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/clean-ipc.c') diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c index bbb343f..1e90cc2 100644 --- a/src/shared/clean-ipc.c +++ b/src/shared/clean-ipc.c @@ -58,7 +58,7 @@ static int clean_sysvipc_shm(uid_t delete_uid, gid_t delete_gid, bool rm) { r = read_line(f, LONG_LINE_MAX, &line); if (r < 0) - return log_warning_errno(errno, "Failed to read /proc/sysvipc/shm: %m"); + return log_warning_errno(r, "Failed to read /proc/sysvipc/shm: %m"); if (r == 0) break; -- cgit v1.2.3