Fix build break

This commit is contained in:
Arun Prakash Jana 2020-04-13 21:55:11 +05:30
parent a9436cfe7b
commit cd1c458c96
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ static size_t xstrsncpy(char *restrict dst, const char *restrict src, size_t n)
char *end = memccpy(dst, src, '\0', n);
if (!end) {
dst[n - 1] = '\0';
dst[n - 1] = '\0'; // NOLINT
end = dst + n;
}