From: Lennart Poettering Date: Thu, 8 Jul 2010 19:17:41 +0000 (+0200) Subject: cgls: fix missing initialization X-Git-Tag: v2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34b6159f3c9c627df8ab476074796ea696eb287;p=systemd cgls: fix missing initialization --- 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; } }