diff options
author | ache <ache@FreeBSD.org> | 1996-04-05 18:59:06 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-04-05 18:59:06 +0000 |
commit | 72565796f2ff9a94c3763e6b1a8011dfc6ae1eb4 (patch) | |
tree | 9b5751a640d0dc3faf65510b9ef9a76ee2f5703b /sys/fs | |
parent | 73f61b578d7ddf7c4182d67b3f2f279e97f296eb (diff) | |
download | FreeBSD-src-72565796f2ff9a94c3763e6b1a8011dfc6ae1eb4.zip FreeBSD-src-72565796f2ff9a94c3763e6b1a8011dfc6ae1eb4.tar.gz |
Fix adjkerntz expression priority.
Make filetimes the same as DOS times for UTC cmos clock.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_conv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/msdosfs/msdosfs_conv.c b/sys/fs/msdosfs/msdosfs_conv.c index 9d24f6f..033c4ac3 100644 --- a/sys/fs/msdosfs/msdosfs_conv.c +++ b/sys/fs/msdosfs/msdosfs_conv.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_conv.c,v 1.7 1995/11/07 14:06:41 phk Exp $ */ +/* $Id: msdosfs_conv.c,v 1.8 1996/04/05 16:31:49 ache Exp $ */ /* $NetBSD: msdosfs_conv.c,v 1.6.2.1 1994/08/30 02:27:57 cgd Exp $ */ /* @@ -78,7 +78,7 @@ unix2dostime(tsp, ddp, dtp) * skip the computations and use the saved result. */ t = tsp->ts_sec - (tz.tz_minuteswest * 60) - - wall_cmos_clock ? adjkerntz : 0; + - (wall_cmos_clock ? adjkerntz : 0); /* - daylight savings time correction */ if (lasttime != t) { lasttime = t; @@ -176,7 +176,7 @@ dos2unixtime(dd, dt, tsp) lastseconds = (days * 24 * 60 * 60) + SECONDSTO1980; } tsp->ts_sec = seconds + lastseconds + (tz.tz_minuteswest * 60) - + wall_cmos_clock ? adjkerntz : 0; + + adjkerntz; /* + daylight savings time correction */ tsp->ts_nsec = 0; } |