diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1999-01-21 17:22:59 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1999-01-21 17:22:59 +0000 |
| commit | 6efae010ca7c47d2c22af01060e5271463cc98d0 (patch) | |
| tree | 88d0e4ce17c09ee749d78931a5e37dd0a43d8b8e /lib/libc/stdtime/localtime.c | |
| parent | 7ed6908ffd7e86be5a05718f9642cef424405da5 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime/localtime.c')
| -rw-r--r-- | lib/libc/stdtime/localtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c index 9e130bd560e2..66033365874d 100644 --- a/lib/libc/stdtime/localtime.c +++ b/lib/libc/stdtime/localtime.c @@ -327,7 +327,7 @@ register struct state * const sp; if (close(fid) != 0) return -1; p = buf; - p += sizeof tzhp->tzh_reserved; + p += (sizeof tzhp->tzh_magic) + (sizeof tzhp->tzh_reserved); ttisstdcnt = (int) detzcode(p); p += 4; ttisgmtcnt = (int) detzcode(p); |
