summaryrefslogtreecommitdiff
path: root/src/shared/hwclock.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-10-31 02:26:07 +0100
committerKay Sievers <kay@vrfy.org>2013-10-31 02:33:23 +0100
commit2f6a59070559786428d9eaf199ae3d61772b2225 (patch)
treee0980c4f781815a9d079b8afffbbc12d0c5ca716 /src/shared/hwclock.c
parent04d39279245834494baccfdb9349db8bf80abd13 (diff)
timedatectl: get time values from the service instead of the client
This allow querying the RTC time from the unprivileged timedatectl.
Diffstat (limited to 'src/shared/hwclock.c')
-rw-r--r--src/shared/hwclock.c2
1 files changed, 1 insertions, 1 deletions
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);