mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
time-util: align string table
This commit is contained in:
parent
d227a42aad
commit
e01a8fdd26
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue