diff options
author | nate <nate@FreeBSD.org> | 1996-09-20 04:33:57 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-09-20 04:33:57 +0000 |
commit | 5e96772b88c5264a3adc227c624859ac36d68090 (patch) | |
tree | 6db64fc548b4ef41c2a5e12c31d2c0ae76f316c9 /sbin/restore | |
parent | 4c36b3483c3768316f874b2ae9684cdf6512b92b (diff) | |
download | FreeBSD-src-5e96772b88c5264a3adc227c624859ac36d68090.zip FreeBSD-src-5e96772b88c5264a3adc227c624859ac36d68090.tar.gz |
ts_sec -> tv_sec
ts_nsec -> tv_nsec
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/dirs.c | 8 | ||||
-rw-r--r-- | sbin/restore/tape.c | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/sbin/restore/dirs.c b/sbin/restore/dirs.c index c5d025d..b092eab 100644 --- a/sbin/restore/dirs.c +++ b/sbin/restore/dirs.c @@ -708,10 +708,10 @@ allocinotab(ino, dip, seekpt) if (mf == NULL) return (itp); node.ino = ino; - node.timep[0].tv_sec = dip->di_atime.ts_sec; - node.timep[0].tv_usec = dip->di_atime.ts_nsec / 1000; - node.timep[1].tv_sec = dip->di_mtime.ts_sec; - node.timep[1].tv_usec = dip->di_mtime.ts_nsec / 1000; + node.timep[0].tv_sec = dip->di_atime.tv_sec; + node.timep[0].tv_usec = dip->di_atime.tv_nsec / 1000; + node.timep[1].tv_sec = dip->di_mtime.tv_sec; + node.timep[1].tv_usec = dip->di_mtime.tv_nsec / 1000; node.mode = dip->di_mode; node.uid = dip->di_uid; node.gid = dip->di_gid; diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index ebfa555..fcf41e8 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -506,10 +506,10 @@ extractfile(name) curfile.name = name; curfile.action = USING; - timep[0].tv_sec = curfile.dip->di_atime.ts_sec; - timep[0].tv_usec = curfile.dip->di_atime.ts_nsec / 1000; - timep[1].tv_sec = curfile.dip->di_mtime.ts_sec; - timep[1].tv_usec = curfile.dip->di_mtime.ts_nsec / 1000; + timep[0].tv_sec = curfile.dip->di_atime.tv_sec; + timep[0].tv_usec = curfile.dip->di_atime.tv_nsec / 1000; + timep[1].tv_sec = curfile.dip->di_mtime.tv_sec; + timep[1].tv_usec = curfile.dip->di_mtime.tv_nsec / 1000; mode = curfile.dip->di_mode; switch (mode & IFMT) { @@ -1037,9 +1037,9 @@ gethead(buf) buf->c_dinode.di_gid = u_ospcl.s_ospcl.c_dinode.odi_gid; buf->c_dinode.di_size = u_ospcl.s_ospcl.c_dinode.odi_size; buf->c_dinode.di_rdev = u_ospcl.s_ospcl.c_dinode.odi_rdev; - buf->c_dinode.di_atime.ts_sec = u_ospcl.s_ospcl.c_dinode.odi_atime; - buf->c_dinode.di_mtime.ts_sec = u_ospcl.s_ospcl.c_dinode.odi_mtime; - buf->c_dinode.di_ctime.ts_sec = u_ospcl.s_ospcl.c_dinode.odi_ctime; + buf->c_dinode.di_atime.tv_sec = u_ospcl.s_ospcl.c_dinode.odi_atime; + buf->c_dinode.di_mtime.tv_sec = u_ospcl.s_ospcl.c_dinode.odi_mtime; + buf->c_dinode.di_ctime.tv_sec = u_ospcl.s_ospcl.c_dinode.odi_ctime; buf->c_count = u_ospcl.s_ospcl.c_count; bcopy(u_ospcl.s_ospcl.c_addr, buf->c_addr, (long)256); if (u_ospcl.s_ospcl.c_magic != OFS_MAGIC || |