aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r--src/core/ngx_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index 6c16e2056..fc2dfd322 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -841,7 +841,7 @@ ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf)
if ((size_t) n != len) {
ngx_log_error(NGX_LOG_ALERT, cf->log, 0,
- ngx_read_fd_n " has read only %z of %uz from %s",
+ ngx_read_fd_n " has read only %z of %O from %s",
n, size, from);
goto failed;
}
@@ -856,7 +856,7 @@ ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf)
if ((size_t) n != len) {
ngx_log_error(NGX_LOG_ALERT, cf->log, 0,
- ngx_write_fd_n " has written only %z of %uz to %s",
+ ngx_write_fd_n " has written only %z of %O to %s",
n, size, to);
goto failed;
}