diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_errno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_errno.c b/src/nxt_errno.c index 29f270e0..869a970f 100644 --- a/src/nxt_errno.c +++ b/src/nxt_errno.c @@ -41,7 +41,7 @@ nxt_strerror_start(void) nxt_uint_t err, invalid; /* The last entry. */ - size = sizeof("Unknown error") - 1; + size = nxt_length("Unknown error"); /* * Linux has holes for error codes 41 and 58, so the loop |