mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Avoid printing spurious ``Header with wrong dumpdate.'' message.
This commit is contained in:
parent
c028393d70
commit
cfbb5cdd50
1 changed files with 1 additions and 1 deletions
|
|
@ -1379,7 +1379,7 @@ gethead(struct s_spcl *buf)
|
|||
}
|
||||
if (checksum((int *)buf) == FAIL)
|
||||
return (FAIL);
|
||||
if (_time64_to_time(buf->c_date) != dumpdate)
|
||||
if (dumpdate != 0 && _time64_to_time(buf->c_date) != dumpdate)
|
||||
fprintf(stderr, "Header with wrong dumpdate.\n");
|
||||
if (Bcvt) {
|
||||
swabst((u_char *)"8l4s1q8l2q17l", (u_char *)buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue