diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-03 15:46:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-03 16:00:49 +0200 |
commit | e677bf7ef610acdc5068b9d5d4c79556a236e52f (patch) | |
tree | 59986ef2ac76a1f37fb75feb8a20c609c4f9b822 /src/shared | |
parent | 741f8cf6b986ef21bbdf88d538a1d40449ef21ae (diff) |
hwclock: add taint flag for non-local hwclock
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index ba24562839..fd2c5b075f 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5001,7 +5001,6 @@ int hwclock_is_localtime(void) { if (!b) return -EIO; - truncate_nl(line); local = streq(line, "LOCAL"); @@ -5136,7 +5135,7 @@ int hwclock_get_time(struct tm *tm) { if (ioctl(fd, RTC_RD_TIME, tm) < 0) err = -errno; - /* We don't now daylight saving, so we reset this in order not + /* We don't know daylight saving, so we reset this in order not * to confused mktime(). */ tm->tm_isdst = -1; |