diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-17 01:22:10 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-29 10:45:09 +0200 |
commit | 5e0fd2035edba3af58d285d3412065bf8e7b834f (patch) | |
tree | 4cb1bdd3a5a7b3aa7cfa6ede05a0a80fd7c924ed | |
parent | 2475c001487720f09c251f2b4887849f2275e4ee (diff) |
sd-id128: make size constraints a bit more obvious
-rw-r--r-- | src/libelogind/sd-id128/sd-id128.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelogind/sd-id128/sd-id128.c b/src/libelogind/sd-id128/sd-id128.c index 46f2181ea..eb539ad31 100644 --- a/src/libelogind/sd-id128/sd-id128.c +++ b/src/libelogind/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); |