diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-13 21:55:11 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-13 21:55:11 +0530 |
commit | cd1c458c96cdf5674c2fb793a16e57435ffe05b7 (patch) | |
tree | 7a73694798119f1346fb48cac333cd734651e2c5 | |
parent | a9436cfe7b196f27fd59074b82c1b10bf692f675 (diff) | |
download | nnn-cd1c458c96cdf5674c2fb793a16e57435ffe05b7.tar.gz |
Fix build break
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |