diff options
author | David Tardon <dtardon@redhat.com> | 2024-05-07 13:30:37 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2024-05-07 14:02:08 +0200 |
commit | 422aa53123bfa9b3cf1fb617ed7bdb76d00fe0f4 (patch) | |
tree | f79de2d2beda3d1667b7ee2a2ad2fa3aaaa07141 /src/shared/cgroup-show.c | |
parent | manager: pass the right error variable (diff) | |
download | systemd-422aa53123bfa9b3cf1fb617ed7bdb76d00fe0f4.tar.xz systemd-422aa53123bfa9b3cf1fb617ed7bdb76d00fe0f4.zip |
cgroup-show: pass the right error variable
Diffstat (limited to '')
-rw-r--r-- | src/shared/cgroup-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c index c7af10687d..ef4f3b3b52 100644 --- a/src/shared/cgroup-show.c +++ b/src/shared/cgroup-show.c @@ -152,7 +152,7 @@ static int show_cgroup_name( if (FLAGS_SET(flags, OUTPUT_CGROUP_ID)) { r = cg_fd_get_cgroupid(fd, &cgroupid); if (r < 0) - log_debug_errno(errno, "Failed to determine cgroup ID of %s, ignoring: %m", path); + log_debug_errno(r, "Failed to determine cgroup ID of %s, ignoring: %m", path); } r = path_extract_filename(path, &b); |