chiark / gitweb /
sd-id128: make size constraints a bit more obvious
[elogind.git] / src / libelogind / sd-id128 / sd-id128.c
index f0ffedc38b39c9c363a4a1b80ab2760a77108f33..eb539ad318fdee7c8fa37123d7809c91d62225b0 100644 (file)
@@ -26,8 +26,9 @@
 #include "util.h"
 #include "macro.h"
 #include "sd-id128.h"
+#include "random-util.h"
 
-_public_ char *sd_id128_to_string(sd_id128_t id, char s[33]) {
+_public_ char *sd_id128_to_string(sd_id128_t id, char s[SD_ID128_STRING_MAX]) {
         unsigned n;
 
         assert_return(s, NULL);