summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 21:17:41 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 21:17:41 +0200
commite34b6159f3c9c627df8ab476074796ea696eb287 (patch)
tree6c2bac3674a9bf67535839ce269901f5280a80b8
parentfa776d8e962da9d90459e2f3e86a2a0c6366ee12 (diff)
cgls: fix missing initialization
-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;
}
}