chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: check for return value from get_process_state
[elogind.git]
/
src
/
core
/
dbus-unit.c
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index 37c1e8cbf822b6542a06e945313c39ad1d8d1c29..d4393e321f2e2ec91b0229b14f032163599780ce 100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-627,7
+627,7
@@
static int send_changed_signal(sd_bus *bus, const char *destination, void *userd
assert(u);
p = unit_dbus_path(u);
assert(u);
p = unit_dbus_path(u);
- if (!
u
)
+ if (!
p
)
return -ENOMEM;
/* Send a properties changed signal. First for the specific
return -ENOMEM;
/* Send a properties changed signal. First for the specific