We end up here only if mft1 == NULL, which can happen because file1 == NULL.
Use file2 instead because mft2 != NULL implies file2 != NULL.
ok job
-/* $OpenBSD: parser.c,v 1.105 2023/12/29 14:35:43 job Exp $ */
+/* $OpenBSD: parser.c,v 1.106 2023/12/29 17:15:10 tb Exp $ */
/*
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
mft1 = NULL;
if (mft2 != NULL)
warnx("%s: failed fetch, continuing with #%s"
- " from cache", file1, mft2->seqnum);
+ " from cache", file2, mft2->seqnum);
}
}