aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_sendfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_sendfile.h')
-rw-r--r--src/os/unix/ngx_sendfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_sendfile.h b/src/os/unix/ngx_sendfile.h
index 0a0a25e76..768e23cf1 100644
--- a/src/os/unix/ngx_sendfile.h
+++ b/src/os/unix/ngx_sendfile.h
@@ -10,7 +10,7 @@
int ngx_sendfile(ngx_socket_t s,
ngx_iovec_t *headers, int hdr_cnt,
- ngx_file_t fd, off_t offset, size_t nbytes,
+ ngx_fd_t fd, off_t offset, size_t nbytes,
ngx_iovec_t *trailers, int trl_cnt,
off_t *sent,
ngx_log_t *log);