projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5978bdd
)
coredump: fix assign in while loop (#5417)
author
Thomas H. P. Andersen
<phomes@gmail.com>
Tue, 21 Feb 2017 23:14:54 +0000
(
00:14
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 21 Feb 2017 23:14:54 +0000
(
00:14
+0100)
From: #5393
src/coredump/coredumpctl.c
patch
|
blob
|
history
diff --git
a/src/coredump/coredumpctl.c
b/src/coredump/coredumpctl.c
index
29fb71c
..
43dba82
100644
(file)
--- a/
src/coredump/coredumpctl.c
+++ b/
src/coredump/coredumpctl.c
@@
-916,7
+916,7
@@
static int check_units_active(void) {
while ((r = sd_bus_message_read(
reply, "(ssssssouso)",
NULL, NULL, NULL, &state, NULL,
- NULL, NULL, NULL, NULL, NULL)
> 0)
)
+ NULL, NULL, NULL, NULL, NULL)
) > 0
)
if (!STR_IN_SET(state, "dead", "failed"))
c++;