aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ar/archive.c
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1996-09-20 02:34:51 +0000
committerNate Williams <nate@FreeBSD.org>1996-09-20 02:34:51 +0000
commit8e2d2ee61c3e38bf4ce168dcca4ab41ceca1762a (patch)
tree5156d07b22b4b740b3ff29d023c959e3326a9fce /usr.bin/ar/archive.c
parent08c2c9ddf5059712a6f4ab68010204470c940fbf (diff)
downloadsrc-8e2d2ee61c3e38bf4ce168dcca4ab41ceca1762a.tar.gz
src-8e2d2ee61c3e38bf4ce168dcca4ab41ceca1762a.zip
More ts_nse -> tv_nsec changes following the kernel changes I made earlier.
Submitted by: Chuck Robey <chuckr@glue.umd.edu>
Notes
Notes: svn path=/head/; revision=18402
Diffstat (limited to 'usr.bin/ar/archive.c')
-rw-r--r--usr.bin/ar/archive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ar/archive.c b/usr.bin/ar/archive.c
index d804b974999b..8ab1111bcf6e 100644
--- a/usr.bin/ar/archive.c
+++ b/usr.bin/ar/archive.c
@@ -225,17 +225,17 @@ put_arobj(cfp, sb)
name, OLDARMAXNAME, name);
(void)fflush(stderr);
}
- (void)sprintf(hb, HDR3, name, sb->st_mtimespec.ts_sec,
+ (void)sprintf(hb, HDR3, name, sb->st_mtimespec.tv_sec,
sb->st_uid, sb->st_gid, sb->st_mode, sb->st_size,
ARFMAG);
lname = 0;
} else if (lname > sizeof(hdr->ar_name) || strchr(name, ' '))
(void)sprintf(hb, HDR1, AR_EFMT1, lname,
- sb->st_mtimespec.ts_sec, sb->st_uid, sb->st_gid,
+ sb->st_mtimespec.tv_sec, sb->st_uid, sb->st_gid,
sb->st_mode, sb->st_size + lname, ARFMAG);
else {
lname = 0;
- (void)sprintf(hb, HDR2, name, sb->st_mtimespec.ts_sec,
+ (void)sprintf(hb, HDR2, name, sb->st_mtimespec.tv_sec,
sb->st_uid, sb->st_gid, sb->st_mode, sb->st_size,
ARFMAG);
}