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:
Warner Losh 2005-03-18 21:06:54 +00:00
parent 55f776914c
commit 372e256ad0

View file

@ -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;