diff options
Diffstat (limited to 'src/core/dbus-timer.c')
-rw-r--r-- | src/core/dbus-timer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/dbus-timer.c b/src/core/dbus-timer.c index ec301df6d7..212f9e1d8d 100644 --- a/src/core/dbus-timer.c +++ b/src/core/dbus-timer.c @@ -267,10 +267,12 @@ static int bus_timer_set_transient_property( return 1; - } else if (streq(name, "AccuracySec")) { - + } else if (STR_IN_SET(name, "AccuracyUSec", "AccuracySec")) { usec_t u = 0; + if (streq(name, "AccuracySec")) + log_notice("Client is using obsolete AccuracySec= transient property, please use AccuracyUSec= instead."); + r = sd_bus_message_read(message, "t", &u); if (r < 0) return r; |