diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-05 13:46:33 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-05 13:47:54 +0200 |
commit | 38df8d3f521c8d76c507c092f4a8e4bb84f9f48a (patch) | |
tree | 6bcacb58fc3a54709ca5f43da87971d7f24f3cfe /src/test/test-id128.c | |
parent | test-journal: move tests to /var/tmp/ and set FS_NOCOW_FL (diff) | |
download | systemd-38df8d3f521c8d76c507c092f4a8e4bb84f9f48a.tar.xz systemd-38df8d3f521c8d76c507c092f4a8e4bb84f9f48a.zip |
sd-id128: expose ID128_UUID_FORMAT_STR
It is generally useful, and can be made public in the same manner that
SD_ID128_FORMAT_STR is.
Diffstat (limited to 'src/test/test-id128.c')
-rw-r--r-- | src/test/test-id128.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-id128.c b/src/test/test-id128.c index 8840788310..eea0765b7a 100644 --- a/src/test/test-id128.c +++ b/src/test/test-id128.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) { assert_se(streq(q, UUID_WALDI)); b = mfree(b); - assert_se(asprintf(&b, ID128_UUID_FORMAT_STR, SD_ID128_FORMAT_VAL(ID128_WALDI)) == 36); + assert_se(asprintf(&b, SD_ID128_UUID_FORMAT_STR, SD_ID128_FORMAT_VAL(ID128_WALDI)) == 36); printf("waldi4: %s\n", b); assert_se(streq(q, b)); |