summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-17 01:22:10 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-22 16:30:32 +0200
commit3ade55d31b6154e4da184dd08ad76ae1ea285f22 (patch)
treed1abd6d6a8ac1ce75f5b24d691a385a79e410aea
parented0d40229bc536c424fad481e56afcaa1d0e38db (diff)
sd-id128: make size constraints a bit more obvious
-rw-r--r--src/libsystemd/sd-id128/sd-id128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-id128/sd-id128.c b/src/libsystemd/sd-id128/sd-id128.c
index 46f2181ea8..eb539ad318 100644
--- a/src/libsystemd/sd-id128/sd-id128.c
+++ b/src/libsystemd/sd-id128/sd-id128.c
@@ -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);