configure.ac: loosen FREAD_READS_DIRECTORIES test program
[gitweb.git] / bisect.c
index 469a3e90614eea21f4778d092307b2506d60beff..bb28bf63b28198ab98dc361ba56738083c738d25 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -666,7 +666,7 @@ static int is_expected_rev(const struct object_id *oid)
        if (stat(filename, &st) || !S_ISREG(st.st_mode))
                return 0;
 
-       fp = fopen(filename, "r");
+       fp = fopen_or_warn(filename, "r");
        if (!fp)
                return 0;