summaryrefslogtreecommitdiff
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-09 10:36:41 -0400
committerBrad King <brad.king@kitware.com>2014-06-09 10:36:41 -0400
commitc1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f (patch)
tree9537e6fc53b91fc08c446bdd422f3859e13af47d /Utilities/cmlibarchive
parent478b1c8b36e55001e8cb9ec10993d7ac1e78e189 (diff)
downloadcmake-c1ddd77d0c1070a9bf791c24cd47b42ca8cdb96f.tar.gz
libarchive: Fix compilation on Tru64 with F_SETTIMES
The parent commit left a typo in the conditional code path for Tru64. Add the missing '.'.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c b/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
index 962f2caed6..bca2e357ca 100644
--- a/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
+++ b/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c
@@ -2877,7 +2877,7 @@ set_time_tru64(int fd, int mode, const char *name,
tstamp.mtime.tv_nsec = mtime_nsec;
tstamp.ctime.tv_nsec = ctime_nsec;
#else
- tstamp.atimetv_usec = atime_nsec / 1000;
+ tstamp.atime.tv_usec = atime_nsec / 1000;
tstamp.mtime.tv_usec = mtime_nsec / 1000;
tstamp.ctime.tv_usec = ctime_nsec / 1000;
#endif