From 2f6a59070559786428d9eaf199ae3d61772b2225 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 31 Oct 2013 02:26:07 +0100 Subject: timedatectl: get time values from the service instead of the client This allow querying the RTC time from the unprivileged timedatectl. --- src/shared/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/hwclock.c b/src/shared/hwclock.c index 17f12de51f..60292a0153 100644 --- a/src/shared/hwclock.c +++ b/src/shared/hwclock.c @@ -59,7 +59,7 @@ int hwclock_get_time(struct tm *tm) { err = -errno; /* We don't know daylight saving, so we reset this in order not - * to confused mktime(). */ + * to confuse mktime(). */ tm->tm_isdst = -1; close_nointr_nofail(fd); -- cgit v1.2.3-54-g00ecf