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:
f526ab7
)
machined: check correct return value for NULL
author
Dave Reisner
<dreisner@archlinux.org>
Tue, 2 Jul 2013 17:44:50 +0000
(13:44 -0400)
committer
Dave Reisner
<dreisner@archlinux.org>
Tue, 2 Jul 2013 17:44:50 +0000
(13:44 -0400)
src/machine/machined.c
patch
|
blob
|
history
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)