summaryrefslogtreecommitdiffstats
path: root/src/test/test-id128.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-05 13:46:33 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-05 13:47:54 +0200
commit38df8d3f521c8d76c507c092f4a8e4bb84f9f48a (patch)
tree6bcacb58fc3a54709ca5f43da87971d7f24f3cfe /src/test/test-id128.c
parenttest-journal: move tests to /var/tmp/ and set FS_NOCOW_FL (diff)
downloadsystemd-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.c2
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));