diff options
-rw-r--r-- | sys-utils/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 9512f696e..a2c5cc2a4 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -971,7 +971,7 @@ manipulate_clock(const struct hwclock_control *ctl, const time_t set_time, */ struct timeval startup_hclocktime = { 0 }; /* Total Hardware Clock drift correction needed. */ - struct timeval tdrift; + struct timeval tdrift = { 0 }; if ((ctl->set || ctl->systohc || ctl->adjust) && (adjtime->local_utc == UTC) != ctl->universal) { |