diff options
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/tape.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 28bca7f..900d9ed 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -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; |