]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: define a string constant for LONG_MAX and use that for sysctl
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 3 Dec 2022 10:55:55 +0000 (11:55 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 3 Dec 2022 10:59:03 +0000 (11:59 +0100)
commita5fac1df2743e6407b23d22dbcbf7a25deddbb5c
treefa427a86b1def9b83dfde395bfdc88fb13bb6536
parentb47e0fac0356308cf34aa235ba9328c0c9de51bd
manager: define a string constant for LONG_MAX and use that for sysctl

This moves the formatting of the constant to compilation time and let's us
avoid asprintf() in the very hot path of initial boot.
meson.build
src/core/main.c