chiark / gitweb /
busctl: show machine name of all registered names
[elogind.git] / src / shared / hwclock.c
index cc11faa6c37042ad1dbcb414ccab348786a3e336..60292a01537c7ae68caeb0a20a07309ee10bbab2 100644 (file)
@@ -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);
@@ -151,7 +151,7 @@ int hwclock_reset_timezone(void) {
         /*
          * The very first time we set the kernel's timezone, it will warp
          * the clock. Do a dummy call here, so the time warping is sealed
-         * and we set only the time zone with next call.
+         * and we set only the timezone with next call.
          */
         if (settimeofday(tv_null, &tz) < 0)
                 return -errno;