diff options
author | Kay Sievers <kay@vrfy.org> | 2012-09-17 16:41:13 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-09-17 16:56:26 +0200 |
commit | 72edcff5db936e54cfc322d9392ec46e2428fd9b (patch) | |
tree | 2de5e6ba1b02e2b6db42ad3ab99c0907cfcf6285 /src/shared/hwclock.h | |
parent | 4096d6f5879aef73e20dd7b62a01f447629945b0 (diff) |
hwclock: always set the kernel's timezone
Properly tell the kernel at bootup, and any later time zone changes,
the actual system time zone.
Things like the kernel's FAT filesystem driver needs the actual time
zone to calculate the proper local time to use for the on-disk time
stamps.
https://bugzilla.redhat.com/show_bug.cgi?id=802198
Diffstat (limited to 'src/shared/hwclock.h')
-rw-r--r-- | src/shared/hwclock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/hwclock.h b/src/shared/hwclock.h index 26d1b444e7..b2bdc78f0c 100644 --- a/src/shared/hwclock.h +++ b/src/shared/hwclock.h @@ -23,8 +23,8 @@ ***/ int hwclock_is_localtime(void); -int hwclock_apply_localtime_delta(int *min); -int hwclock_reset_localtime_delta(void); +int hwclock_set_timezone(int *min); +int hwclock_reset_timezone(void); int hwclock_get_time(struct tm *tm); int hwclock_set_time(const struct tm *tm); |