chiark / gitweb /
sd-id128: make size constraints a bit more obvious
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Sep 2015 23:22:10 +0000 (01:22 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:09 +0000 (10:45 +0200)
src/libelogind/sd-id128/sd-id128.c

index 46f2181..eb539ad 100644 (file)
@@ -28,7 +28,7 @@
 #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);