diff options
Diffstat (limited to 'src/nxt_errno.c')
-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 9ac79936..29f270e0 100644 --- a/src/nxt_errno.c +++ b/src/nxt_errno.c @@ -107,7 +107,7 @@ nxt_strerror_start(void) return NXT_ERROR; } - p = (u_char *) nxt_sys_errlist + n; + p = nxt_pointer_to(nxt_sys_errlist, n); for (err = 0; err < nxt_sys_nerr; err++) { msg = strerror((int) err); |