]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
time-util: align string table
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 13 Feb 2023 16:41:38 +0000 (01:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Feb 2023 23:55:27 +0000 (08:55 +0900)
src/basic/time-util.c

index f9d74f771ce8c0d143b29a12082a159dcb5eefd3..2498ea5159fe6b130398e4df47ff578497f115dc 100644 (file)
@@ -1610,10 +1610,10 @@ int time_change_fd(void) {
 
 static const char* const timestamp_style_table[_TIMESTAMP_STYLE_MAX] = {
         [TIMESTAMP_PRETTY] = "pretty",
-        [TIMESTAMP_US] = "us",
-        [TIMESTAMP_UTC] = "utc",
+        [TIMESTAMP_US]     = "us",
+        [TIMESTAMP_UTC]    = "utc",
         [TIMESTAMP_US_UTC] = "us+utc",
-        [TIMESTAMP_UNIX] = "unix",
+        [TIMESTAMP_UNIX]   = "unix",
 };
 
 /* Use the macro for enum → string to allow for aliases */