On Wed, Jul 24, 2019 at 11:21:00PM +0200, Alexander Bluhm wrote:
> There is one more %m:
>
> logmsg(LOG_ERR, "cannot fetch power status: %m");
Thanks, fixed to
logmsg(LOG_ERR, "cannot fetch power status: %s",
strerror(errno));
This leaves one occurence of "%m"
On Wed, Jul 24, 2019 at 09:25:57PM +0200, Klemens Nanni wrote:
> This snuck through
>
> revision 1.84
> date: 2018/12/04 18:00:57; author: tedu; state: Exp; lines: +44 -30;
> redo the debug logging to be more like everything else.
> ok kn
>
> Where the direct syslog(3) ca
This snuck through
revision 1.84
date: 2018/12/04 18:00:57; author: tedu; state: Exp; lines: +44 -30;
redo the debug logging to be more like everything else.
ok kn
Where the direct syslog(3) call was replaced with a logmsg() wrapper
which uses printf(2) in case