summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/util.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-03-28 13:16:08 +0000
committered <ed@FreeBSD.org>2010-03-28 13:16:08 +0000
commit543b5e901b744468356547ee61975d9d44fa8f32 (patch)
tree5c6d55680c37f3cbfd9460fbab60d39b1ecb8ae7 /usr.bin/mail/util.c
parent4f08ecd7ed8b39a0e0cd094967835fa85d105793 (diff)
downloadFreeBSD-src-543b5e901b744468356547ee61975d9d44fa8f32.zip
FreeBSD-src-543b5e901b744468356547ee61975d9d44fa8f32.tar.gz
Change all our own code to use st_*tim instead of st_*timespec.
Also remove some local patches to diff(1) which are now unneeded.
Diffstat (limited to 'usr.bin/mail/util.c')
-rw-r--r--usr.bin/mail/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/util.c b/usr.bin/mail/util.c
index e764aac..df2d840 100644
--- a/usr.bin/mail/util.c
+++ b/usr.bin/mail/util.c
@@ -349,7 +349,7 @@ alter(name)
return;
(void)gettimeofday(&tv[0], (struct timezone *)NULL);
tv[0].tv_sec++;
- TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);
+ TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtim);
(void)utimes(name, tv);
}
OpenPOWER on IntegriCloud