X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/ed1620555d261c5e970dbbe873bf4b19026b0e48..9e21ce8fc41aea068996e0a22093dfae33f542c7:/src/src/expand.c diff --git a/src/src/expand.c b/src/src/expand.c index fe5384ab8..55aaf53ca 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -8550,7 +8550,7 @@ expand_file_big_buffer(const uschar * filename) { int fd, off = 0, len; -if ((fd = open(CS filename, O_RDONLY)) < 0) +if ((fd = exim_open2(CS filename, O_RDONLY)) < 0) { log_write(0, LOG_MAIN | LOG_PANIC, "unable to open file for reading: %s", filename);