X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Futil.c;h=fd2c5b075f77649f943ccf4cb59d02a3fc673e9d;hp=ba2456283962574753eaa1670c6f3373bfe1ee46;hb=e677bf7ef610acdc5068b9d5d4c79556a236e52f;hpb=741f8cf6b986ef21bbdf88d538a1d40449ef21ae diff --git a/src/shared/util.c b/src/shared/util.c index ba2456283..fd2c5b075 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;