chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
machined: check correct return value for NULL
[elogind.git]
/
src
/
machine
/
machined.c
diff --git
a/src/machine/machined.c
b/src/machine/machined.c
index 3cf7f92f964d6c63cb775e4123a3f2ff600e6d98..86f8de9195c2c2393cc19d26dc804ecea172c8b6 100644
(file)
--- a/
src/machine/machined.c
+++ b/
src/machine/machined.c
@@
-98,7
+98,7
@@
int manager_add_machine(Manager *m, const char *name, Machine **_machine) {
}
machine = machine_new(m, name);
}
machine = machine_new(m, name);
- if (!m)
+ if (!m
achine
)
return -ENOMEM;
if (_machine)
return -ENOMEM;
if (_machine)