Klaus Demo nginx / b17e332
fix log message Igor Sysoev 13 years ago
2 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
413413
414414 if (n != size) {
415415 ngx_log_error(NGX_LOG_ALERT, src->file->log, 0,
416 ngx_read_file_n " reads only %z of %O from file",
416 ngx_read_file_n " read only %z of %O from file",
417417 n, size);
418418 if (n == 0) {
419419 return NGX_ERROR;
5757
5858
5959 ssize_t ngx_read_file(ngx_file_t *file, u_char *buf, size_t size, off_t offset);
60 #if (NGX_HAVE_PREAD)
61 #define ngx_read_file_n "pread()"
62 #else
6063 #define ngx_read_file_n "read()"
64 #endif
6165
6266 ssize_t ngx_write_file(ngx_file_t *file, u_char *buf, size_t size,
6367 off_t offset);