string-util: correct comment in strextendf_with_separator

This commit is contained in:
Mike Yuan
2024-04-13 02:33:50 +08:00
parent 947143e897
commit dbbc86ffbd

View File

@@ -998,7 +998,7 @@ int strextendf_with_separator(char **x, const char *separator, const char *forma
return 0;
oom:
/* truncate the bytes added after the first vsnprintf() attempt again */
/* truncate the bytes added after memcpy_safe() again */
(*x)[m] = 0;
return -ENOMEM;
}