[systemd-commits] src/cgroup-show.c

Lennart Poettering lennart at kemper.freedesktop.org
Thu Jul 8 12:17:50 PDT 2010


 src/cgroup-show.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e34b6159f3c9c627df8ab476074796ea696eb287
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Jul 8 21:17:41 2010 +0200

    cgls: fix missing initialization

diff --git a/src/cgroup-show.c b/src/cgroup-show.c
index b44180e..44efa1a 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;
                 }
         }


More information about the systemd-commits mailing list