summaryrefslogtreecommitdiff
path: root/src/test/test-tables.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-10-14 11:11:53 +0200
committerLennart Poettering <lennart@poettering.net>2022-10-14 11:40:40 +0200
commitf8662fee2fac735385dc060f1435e4af5327138d (patch)
treef2d3c0599cc6fcd7bb095d38921be106ed593031 /src/test/test-tables.c
parent4554c178bf07ded86f9f3982f26e87afd1caf0f4 (diff)
downloadsystemd-f8662fee2fac735385dc060f1435e4af5327138d.tar.gz
install: make InstallChange enum type a proper type
We can just make this an enum, as long as we ensure it has enough range, which we can do by adding -ERRNO_MAX as one possible value (at least on GNU C). We already do that at multiple other places, so let's do this here too.
Diffstat (limited to 'src/test/test-tables.c')
-rw-r--r--src/test/test-tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-tables.c b/src/test/test-tables.c
index cac21f3984..36965b334b 100644
--- a/src/test/test-tables.c
+++ b/src/test/test-tables.c
@@ -116,7 +116,7 @@ int main(int argc, char **argv) {
test_table(timer_state, TIMER_STATE);
test_table(unit_active_state, UNIT_ACTIVE_STATE);
test_table(unit_dependency, UNIT_DEPENDENCY);
- test_table(install_change, INSTALL_CHANGE);
+ test_table(install_change_type, INSTALL_CHANGE_TYPE);
test_table(unit_file_preset_mode, UNIT_FILE_PRESET);
test_table(unit_file_state, UNIT_FILE_STATE);
test_table(unit_load_state, UNIT_LOAD_STATE);