Move errno-protection into string_open_failed()
[exim.git] / src / src / expand.c
index 291db426abb19e0517d1c5e89b53f0701f5158ec..41860d93bebf6f000bf0a4da6d805afefd17dc0f 100644 (file)
@@ -5261,7 +5261,7 @@ while (*s)
 
       if (!(f = Ufopen(sub_arg[0], "rb")))
         {
-        expand_string_message = string_open_failed(errno, "%s", sub_arg[0]);
+        expand_string_message = string_open_failed("%s", sub_arg[0]);
         goto EXPAND_FAILED;
         }