summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machined.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index 3cf7f92f96..86f8de9195 100644
--- 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);
- if (!m)
+ if (!machine)
return -ENOMEM;
if (_machine)