]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/log: use structured initialization, drop unused initialization
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Jul 2021 12:56:34 +0000 (14:56 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 7 Aug 2021 06:49:11 +0000 (08:49 +0200)
commit4dc2ecd227453597c63548d043401eddef87b9cd
treeb5744424fd6dd91698776e8c14c1b2bd09e8fa3a
parent32a2ee2bb4fa265577c883403748c909cd6784dd
basic/log: use structured initialization, drop unused initialization

We had 'msghdr' and 'mh' in various places. Now 'const struct msghdr msghdr' is
used consistently. With structured init the variable is only used in the call
to sendmsg(), so let's make it a bit more descriptive.
src/basic/log.c