chiark / gitweb /
timedatectl: add 'show' command to display machine-readable output
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Jun 2018 08:17:34 +0000 (17:17 +0900)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
Closes #9249.

src/shared/bus-util.c

index e69b53ea6fa7ee979d513c88f94aae492187edbc..d2768d62bb61bc7da7fb806afdf96f5de50be26e 100644 (file)
@@ -700,7 +700,8 @@ int bus_print_property(const char *name, sd_bus_message *m, bool value, bool all
                 /* Yes, heuristics! But we can change this check
                  * should it turn out to not be sufficient */
 
-                if (endswith(name, "Timestamp") || STR_IN_SET(name, "NextElapseUSecRealtime", "LastTriggerUSec")) {
+                if (endswith(name, "Timestamp") ||
+                    STR_IN_SET(name, "NextElapseUSecRealtime", "LastTriggerUSec", "TimeUSec", "RTCTimeUSec")) {
                         char timestamp[FORMAT_TIMESTAMP_MAX];
                         const char *t;