From: Arun Prakash Jana Date: Mon, 13 Apr 2020 16:25:11 +0000 (+0530) Subject: Fix build break X-Git-Tag: v3.2~141 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=cd1c458c96cdf5674c2fb793a16e57435ffe05b7;p=nnn.git Fix build break --- diff --git a/src/nnn.c b/src/nnn.c index 013e48b5..3233acb1 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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; }