openbsd-ports/devel/mico/patches/patch-coss_time_TimeService_help_cc
2001-11-10 16:56:32 +00:00

13 lines
516 B
Plaintext

$OpenBSD: patch-coss_time_TimeService_help_cc,v 1.2 2001/11/10 16:56:33 shell Exp $
--- coss/time/TimeService_help.cc.orig Fri Oct 26 11:21:07 2001
+++ coss/time/TimeService_help.cc Fri Oct 26 11:20:47 2001
@@ -70,7 +70,7 @@ TimeBase::TimeT getTimezone()
struct timezone tz;
int r = gettimeofday (&tv, &tz);
assert (r == 0);
- TimeBase::TdfT displacementV = timezone.tz_minuteswest;
+ TimeBase::TdfT displacementV = tz.tz_minuteswest;
#else
// where do we get the timezone from?
assert (0);