mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
string-util: correct comment in strextendf_with_separator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user