mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
In order to print out the dump dates correctly, the date and ddate fields
also need to be convereted for old tapes for records of type TAPE.
This commit is contained in:
parent
55f776914c
commit
372e256ad0
1 changed files with 4 additions and 0 deletions
|
|
@ -1085,6 +1085,10 @@ gethead(struct s_spcl *buf)
|
|||
break;
|
||||
|
||||
case TS_TAPE:
|
||||
if (buf->c_magic == NFS_MAGIC) {
|
||||
buf->c_date = _time32_to_time(buf->c_old_date);
|
||||
buf->c_ddate = _time32_to_time(buf->c_old_ddate);
|
||||
}
|
||||
case TS_END:
|
||||
buf->c_inumber = 0;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue