]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/machine/machine.c
tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate
[thirdparty/systemd.git] / src / machine / machine.c
index c1fae570849b7f39468c48a5cdec90d3b4be228e..dd046d656381b8076a79cee8e21987803e1ab961 100644 (file)
@@ -181,7 +181,7 @@ int machine_save(Machine *m) {
                 fprintf(f, "ROOT=%s\n", escaped);
         }
 
-        if (!sd_id128_equal(m->id, SD_ID128_NULL))
+        if (!sd_id128_is_null(m->id))
                 fprintf(f, "ID=" SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(m->id));
 
         if (m->leader != 0)