chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: Don't hold pointers to journal while remapping
[elogind.git]
/
src
/
test-id128.c
diff --git
a/src/test-id128.c
b/src/test-id128.c
index 6c3928d2e900381e3c5e2e8ff20947385b142023..617c95568bd78907b3a6bbd1b7d9467009fb4a5a 100644
(file)
--- a/
src/test-id128.c
+++ b/
src/test-id128.c
@@
-21,7
+21,8
@@
#include <string.h>
#include <string.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
+
#include "util.h"
#include "macro.h"
#include "util.h"
#include "macro.h"
@@
-45,5
+46,7
@@
int main(int argc, char *argv[]) {
printf("waldi: %s\n", sd_id128_to_string(ID128_WALDI, t));
printf("waldi: %s\n", sd_id128_to_string(ID128_WALDI, t));
+ printf("waldi2: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(ID128_WALDI));
+
return 0;
}
return 0;
}