From f1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 27 Apr 2009 09:55:53 +0000 Subject: *) of.test_only to not open file if only stat() is enough *) of.failed to return exact name of failed syscall --- src/http/modules/perl/nginx.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/perl') diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index 57aabecac..66b0f59b2 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -662,7 +662,7 @@ sendfile(r, filename, offset = -1, bytes = 0) } ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, - ngx_open_file_n " \"%s\" failed", filename); + "%s \"%s\" failed", of.failed, filename); XSRETURN_EMPTY; } -- cgit