Fix unknown file signature error

master
C. McEnroe 2021-06-11 21:22:03 -04:00
parent f6e8078c46
commit 161c1ad680
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -1119,7 +1119,7 @@ static size_t signatureVersion(time_t signature) {
for (size_t i = 0; i < ARRAY_LEN(Signatures); ++i) { for (size_t i = 0; i < ARRAY_LEN(Signatures); ++i) {
if (signature == Signatures[i]) return i; if (signature == Signatures[i]) return i;
} }
err(EX_DATAERR, "unknown file signature %jX", (uintmax_t)signature); errx(EX_DATAERR, "unknown file signature %jX", (uintmax_t)signature);
} }
static int writeTime(FILE *file, time_t time) { static int writeTime(FILE *file, time_t time) {