Fix unknown file signature error
parent
f6e8078c46
commit
161c1ad680
2
ui.c
2
ui.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue