1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

machined: check correct return value for NULL

This commit is contained in:
Dave Reisner 2013-07-02 13:44:50 -04:00
parent f526ab7ef0
commit aba8b84e8d

View File

@ -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)