]> git.ipfire.org Git - thirdparty/systemd.git/commit
bsod: do not use STRLEN
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Dec 2023 08:56:43 +0000 (09:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 30 Jan 2024 09:11:07 +0000 (10:11 +0100)
commite1054a8bcd7ed3f29bc8ea72fd703760d3852392
treea170bee9d9a22ec61e70d395028973aa59806349
parent534fc25ad9d83069bbe63ea2eecc6d6d5ce43528
bsod: do not use STRLEN

The compiler optimizes strlen away, so we can use the simplest form that is
type safe and more natural. STRLEN is only for array initialization.
src/journal/bsod.c