chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa776d8
)
cgls: fix missing initialization
author
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Jul 2010 19:17:41 +0000
(21:17 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Jul 2010 19:17:41 +0000
(21:17 +0200)
src/cgroup-show.c
patch
|
blob
|
history
diff --git
a/src/cgroup-show.c
b/src/cgroup-show.c
index b44180e1fb8ab2d9fe018e5b2471e17ef24fedca..44efa1aaeaac6a0f02cccfeadacdc7bb8be7d8ff 100644
(file)
--- 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;
}
}