back to gmt in clock
authorBill Joy <root@ucbvax.Berkeley.EDU>
Tue, 5 Oct 1982 12:51:55 +0000 (04:51 -0800)
committerBill Joy <root@ucbvax.Berkeley.EDU>
Tue, 5 Oct 1982 12:51:55 +0000 (04:51 -0800)
SCCS-vsn: sys/vax/vax/machdep.c 4.62

usr/src/sys/vax/vax/machdep.c

index 836780d..5920c14 100644 (file)
@@ -1,4 +1,4 @@
-/*     machdep.c       4.61    82/09/04        */
+/*     machdep.c       4.62    82/10/04        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -260,7 +260,7 @@ clockinit(base)
         * seconds in the current year takes us to the end of the current year
         * and then around into the next year to the same position.
         */
         * seconds in the current year takes us to the end of the current year
         * and then around into the next year to the same position.
         */
-       time.tv_sec = (todr-TODRZERO)/100 + timezone*60;
+       time.tv_sec = (todr-TODRZERO)/100;
        while (time.tv_sec < base-SECYR/2) {
                if (LEAPYEAR(year))
                        time.tv_sec += SECDAY;
        while (time.tv_sec < base-SECYR/2) {
                if (LEAPYEAR(year))
                        time.tv_sec += SECDAY;
@@ -294,7 +294,7 @@ clkset()
 {
        int year = YRREF;
        unsigned secyr;
 {
        int year = YRREF;
        unsigned secyr;
-       unsigned yrtime = time.tv_sec - timezone*60;
+       unsigned yrtime = time.tv_sec;
 
        /*
         * Whittle the time down to an offset in the current year,
 
        /*
         * Whittle the time down to an offset in the current year,