aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-06-18 14:12:03 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-06-18 14:12:03 +0000
commit91c654debc86b584b0d33ff8b30513105c8e5283 (patch)
treec58f518d969cd1da58079254953457b0f3a9c033 /src/os/unix
parent97f7bf25c937f530b9184409c1f2bd8e4f3d2d99 (diff)
downloadnginx-91c654debc86b584b0d33ff8b30513105c8e5283.tar.gz
nginx-91c654debc86b584b0d33ff8b30513105c8e5283.zip
Fixed return type of ngx_strerror_init().
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_errno.c2
-rw-r--r--src/os/unix/ngx_errno.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c
index 75176c49a..e787b2377 100644
--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -42,7 +42,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size)
}
-ngx_uint_t
+ngx_int_t
ngx_strerror_init(void)
{
char *msg;
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index 2912dea04..125087e78 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -69,7 +69,7 @@ typedef int ngx_err_t;
u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size);
-ngx_uint_t ngx_strerror_init(void);
+ngx_int_t ngx_strerror_init(void);
#endif /* _NGX_ERRNO_H_INCLUDED_ */