]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: modernize mangle_stub_cmdline() a bit + drop leading whitespace
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Aug 2023 16:37:46 +0000 (18:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 Aug 2023 08:53:25 +0000 (10:53 +0200)
commit90dab2b01ea19a8f161ad7f85a2fd309f13c2712
treeaa23c9a88793d190b9fb534145ae38cf16663127
parentc4d281fa1a6a99208daef2b80f57bcad37a6eaab
boot: modernize mangle_stub_cmdline() a bit + drop leading whitespace

Let's modernize the function a bit, and make it return the string passed
in, as we usually do.

Most importanly though: also drop leading whitespace, not just trailing
whitespace.
src/boot/efi/util.c
src/boot/efi/util.h