From: Mike Yuan Date: Fri, 12 Apr 2024 18:33:50 +0000 (+0800) Subject: string-util: correct comment in strextendf_with_separator X-Git-Tag: v256-rc1~208^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbc86ffbdaa9a09069b3dd07c3adeef6cd419ac;p=thirdparty%2Fsystemd.git string-util: correct comment in strextendf_with_separator --- diff --git a/src/basic/string-util.c b/src/basic/string-util.c index f3ab2dc2223..e775326e291 100644 --- a/src/basic/string-util.c +++ b/src/basic/string-util.c @@ -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; }