diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-07-21 16:06:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-22 12:38:08 +0200 |
commit | 3bbaff3e08070f03487958818edbd161d439ce15 (patch) | |
tree | e49c277ea558e510c98538840e68c9db88697ae8 /src/machine/machine.c | |
parent | bf3dd08a81f7500973d8a4add8c73a0856ae5f7d (diff) |
tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate
It's a bit easier to read because shorter. Also, most likely a tiny bit faster.
Diffstat (limited to 'src/machine/machine.c')
-rw-r--r-- | src/machine/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine.c b/src/machine/machine.c index c1fae57084..dd046d6563 100644 --- a/src/machine/machine.c +++ b/src/machine/machine.c @@ -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) |