grep: fix erroneously copy/pasted variable in check/assert pattern
[gitweb.git] / read-cache.c
index b3d0f3c30bfd7ee054d406afd8d8df29342105c2..0d0081a11b858227d3f55ebbc21f04bd49875f68 100644 (file)
@@ -2372,7 +2372,7 @@ static int should_delete_shared_index(const char *shared_index_path)
        if (!expiration)
                return 0;
        if (stat(shared_index_path, &st))
-               return error_errno(_("could not stat '%s"), shared_index_path);
+               return error_errno(_("could not stat '%s'"), shared_index_path);
        if (st.st_mtime > expiration)
                return 0;