aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_files.c')
-rw-r--r--src/os/unix/ngx_files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_files.c b/src/os/unix/ngx_files.c
index 732cfdf22..9ed378dd2 100644
--- a/src/os/unix/ngx_files.c
+++ b/src/os/unix/ngx_files.c
@@ -11,7 +11,8 @@ ssize_t ngx_read_file(ngx_file_t *file, char *buf, size_t size, off_t offset)
{
ssize_t n;
- ngx_log_debug(file->log, "read: %x, %d, %qd" _ buf _ size _ offset);
+ ngx_log_debug(file->log, "read: %d, %x, %d, %qd" _
+ file->fd _ buf _ size _ offset);
n = pread(file->fd, buf, size, offset);