summaryrefslogtreecommitdiff
path: root/src/test-id128.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-04 02:09:05 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-04 02:09:05 +0100
commiteaff7bd849f1ad9f59b52011657e018efacb47bf (patch)
tree4dc2236034634260a13d559432d98083dcb05651 /src/test-id128.c
parentbad75c274a488715a845ff8e5ec3140036929e94 (diff)
sd128: add format string macros for outputting sd_id128_t variables
Diffstat (limited to 'src/test-id128.c')
-rw-r--r--src/test-id128.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test-id128.c b/src/test-id128.c
index 6c3928d2e9..520a496366 100644
--- a/src/test-id128.c
+++ b/src/test-id128.c
@@ -45,5 +45,7 @@ int main(int argc, char *argv[]) {
printf("waldi: %s\n", sd_id128_to_string(ID128_WALDI, t));
+ printf("waldi2: " SD_FORMAT_ID128_STR "\n", SD_FORMAT_ID128_VAL(ID128_WALDI));
+
return 0;
}