From: Yu Watanabe Date: Mon, 13 Feb 2023 16:41:38 +0000 (+0900) Subject: time-util: align string table X-Git-Tag: v254-rc1~1163^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e01a8fdd2645c06cdb9057bd5b8a45ab02c0d6ee;p=thirdparty%2Fsystemd.git time-util: align string table --- diff --git a/src/basic/time-util.c b/src/basic/time-util.c index f9d74f771ce..2498ea5159f 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -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 */