diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-17 01:22:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-22 16:30:32 +0200 |
commit | 3ade55d31b6154e4da184dd08ad76ae1ea285f22 (patch) | |
tree | d1abd6d6a8ac1ce75f5b24d691a385a79e410aea /src/libsystemd/sd-id128/sd-id128.c | |
parent | ed0d40229bc536c424fad481e56afcaa1d0e38db (diff) |
sd-id128: make size constraints a bit more obvious
Diffstat (limited to 'src/libsystemd/sd-id128/sd-id128.c')
-rw-r--r-- | src/libsystemd/sd-id128/sd-id128.c | 2 |
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); |