]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/loginctl.c
loginctl: fix misuse compound literals
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Jan 2015 22:16:28 +0000 (23:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Jan 2015 22:18:33 +0000 (23:18 +0100)
commit2fbcde7402a26d365b6a8091b912154e6d187ee4
tree4260a6f0d8bd5d034d19dfe9a747a155dec3cbd9
parentc7fbd99660363b74ccb3c75d280c158518bc78b3
loginctl: fix misuse compound literals

The lifetime of compound literals is bound to the local scope, we hence
cannot refernce them outside of it.
src/login/loginctl.c