diff --git a/src/lxc/string_utils.c b/src/lxc/string_utils.c index 7bc99c428..c4b915339 100644 --- a/src/lxc/string_utils.c +++ b/src/lxc/string_utils.c @@ -774,7 +774,7 @@ char *must_concat(const char *first, ...) } va_end(args); - dest[cur_len] = 0; + dest[cur_len] = '\0'; return dest; }