From e34b6159f3c9c627df8ab476074796ea696eb287 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jul 2010 21:17:41 +0200 Subject: [PATCH] cgls: fix missing initialization --- src/cgroup-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgroup-show.c b/src/cgroup-show.c index b44180e1..44efa1aa 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; } } -- 2.39.5