]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/conf-parser: do not print "(null)" as section name 32994/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 May 2024 12:47:00 +0000 (14:47 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 May 2024 14:15:24 +0000 (16:15 +0200)
commit600a7405a9a7cdf2d6a7e669df4fa6025924ba82
tree805ec17ef0400cb25a48936fdd08b5850248a639
parent3f5196ffb86d33dc435957a72a5cd4740516410c
shared/conf-parser: do not print "(null)" as section name

Before:
/etc/kernel/install.conf:6: Unknown key name 'asdf' in section '(null)', ignoring.
After:
/etc/kernel/install.conf:6: Unknown key 'asdf', ignoring.

Also make the message a bit better.
src/shared/conf-parser.c