diff options
author | Lennart Poettering <lennart@poettering.net> | 2025-01-16 07:48:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 07:48:21 +0100 |
commit | 30adccf3d4c298e0b5f8cee19bab1d70c8726b2d (patch) | |
tree | 35e72bec00106daf8d55876ea68810face263ec2 /src/core/manager.c | |
parent | pid1: add GracefulOptions= setting to .mount units (#36023) (diff) | |
parent | meson: enable -Wzero-as-null-pointer-constant (diff) | |
download | systemd-30adccf3d4c298e0b5f8cee19bab1d70c8726b2d.tar.xz systemd-30adccf3d4c298e0b5f8cee19bab1d70c8726b2d.zip |
meson: enable -Wzero-as-null-pointer-constant (#36028)
Support for C added in gcc 15:
https://github.com/gcc-mirror/gcc/commit/236c0829ee21a179c81b83f0d7f112ca23c47a4d
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 1b629b1378..72b9290dc0 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2002,7 +2002,7 @@ static void manager_preset_all(Manager *m) { UnitFilePresetMode mode = ENABLE_FIRST_BOOT_FULL_PRESET ? UNIT_FILE_PRESET_FULL : UNIT_FILE_PRESET_ENABLE_ONLY; - r = unit_file_preset_all(RUNTIME_SCOPE_SYSTEM, 0, NULL, mode, NULL, 0); + r = unit_file_preset_all(RUNTIME_SCOPE_SYSTEM, 0, NULL, mode, NULL, NULL); if (r < 0) log_full_errno(r == -EEXIST ? LOG_NOTICE : LOG_WARNING, r, "Failed to populate /etc with preset unit settings, ignoring: %m"); |