summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cgroup-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroup-show.c b/src/cgroup-show.c
index b44180e1fb..44efa1aaea 100644
--- a/src/cgroup-show.c
+++ b/src/cgroup-show.c
@@ -228,7 +228,7 @@ int show_cgroup_recursive(const char *name, const char *prefix, unsigned n_colum
}
if (asprintf(&last, "%s/%s", name, de->d_name) < 0) {
- log_error("Out of memory");
+ r = -ENOMEM;
goto finish;
}
}