Merge pull request #32255 from YHNdnzj/strextendf

shared/killall: minor modernization
This commit is contained in:
Yu Watanabe
2024-04-13 05:10:20 +09:00
committed by GitHub
2 changed files with 9 additions and 9 deletions
+1 -1
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;
}