summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-06-27 04:21:27 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-28 20:42:37 +0200
commit909a6b87b035504e56354788129980d27de744e7 (patch)
treeb6767b6aad92edf754633cc1fed1a558e448d4ea /src
parentMerge pull request #23821 from dtardon/ascii-logging (diff)
downloadsystemd-909a6b87b035504e56354788129980d27de744e7.tar.xz
systemd-909a6b87b035504e56354788129980d27de744e7.zip
sd-journal: align table
Diffstat (limited to '')
-rw-r--r--src/libsystemd/sd-journal/journal-file.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c
index c19f0ce382..f268abede7 100644
--- a/src/libsystemd/sd-journal/journal-file.c
+++ b/src/libsystemd/sd-journal/journal-file.c
@@ -634,13 +634,13 @@ static int journal_file_move_to(
static uint64_t minimum_header_size(Object *o) {
static const uint64_t table[] = {
- [OBJECT_DATA] = sizeof(DataObject),
- [OBJECT_FIELD] = sizeof(FieldObject),
- [OBJECT_ENTRY] = sizeof(EntryObject),
- [OBJECT_DATA_HASH_TABLE] = sizeof(HashTableObject),
+ [OBJECT_DATA] = sizeof(DataObject),
+ [OBJECT_FIELD] = sizeof(FieldObject),
+ [OBJECT_ENTRY] = sizeof(EntryObject),
+ [OBJECT_DATA_HASH_TABLE] = sizeof(HashTableObject),
[OBJECT_FIELD_HASH_TABLE] = sizeof(HashTableObject),
- [OBJECT_ENTRY_ARRAY] = sizeof(EntryArrayObject),
- [OBJECT_TAG] = sizeof(TagObject),
+ [OBJECT_ENTRY_ARRAY] = sizeof(EntryArrayObject),
+ [OBJECT_TAG] = sizeof(TagObject),
};
if (o->object.type >= ELEMENTSOF(table) || table[o->object.type] <= 0)