aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-10-15 06:19:03 +0800
committerkremlin <ian@kremlin.cc>2014-10-15 06:19:03 +0800
commit06407d3ed6ecd095261823d3c488d1947c9a19c3 (patch)
treecd9776aefa1c5a513f9df5a16795bc442ebd41cc
parent0b7afeee3bb89a0185de1cb3d9937434f24388d7 (diff)
downloadsystembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar.gz
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar.bz2
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar.lz
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar.xz
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.tar.zst
systembsd-06407d3ed6ecd095261823d3c488d1947c9a19c3.zip
clarify RTC/UTC messages/comments
-rw-r--r--src/interfaces/timedated/timedated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/timedated/timedated.c b/src/interfaces/timedated/timedated.c
index 8fb1ce5..cba6138 100644
--- a/src/interfaces/timedated/timedated.c
+++ b/src/interfaces/timedated/timedated.c
@@ -271,7 +271,7 @@ on_handle_set_local_rtc(Timedate1 *td1_passed_interf,
const gchar *greet,
gpointer data) {
- g_dbus_method_invocation_return_dbus_error(invoc, "org.freedesktop.timedate1.Error.ENODEV", "OpenBSD does not support setting the realtime clock in local time, only UTC.");
+ g_dbus_method_invocation_return_dbus_error(invoc, "org.freedesktop.timedate1.Error.ENODEV", "Unix RTC must be in UTC.");
return TRUE;
}
@@ -330,7 +330,7 @@ our_get_timezone() {
return ret;
}
-/* openbsd does not support setting the RTC to localtime, only UTC */
+/* Unix time must be in UTC. */
gboolean
our_get_local_rtc() {