]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/id128-print.c
hibernate-resume: add resumeflags= kernel option
[thirdparty/systemd.git] / src / shared / id128-print.c
index eea3ee5ca8a0011a221f678507197967d836eb67..febe3635baf55c991351d12e3ab782752471c260 100644 (file)
@@ -7,6 +7,7 @@
 #include "alloc-util.h"
 #include "id128-print.h"
 #include "log.h"
+#include "pretty-print.h"
 #include "terminal-util.h"
 
 int id128_pretty_print(sd_id128_t id, bool pretty) {
@@ -32,7 +33,7 @@ int id128_pretty_print(sd_id128_t id, bool pretty) {
         printf("As string:\n"
                "%s" SD_ID128_FORMAT_STR "%s\n\n"
                "As UUID:\n"
-               "%s%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x%s\n\n"
+               "%s" SD_ID128_UUID_FORMAT_STR "%s\n\n"
                "As %s macro:\n"
                "%s#define MESSAGE_XYZ SD_ID128_MAKE(",
                on, SD_ID128_FORMAT_VAL(id), off,