Re: syslogd log ttymsg

2017-04-05 Thread Todd C. Miller
On Wed, 05 Apr 2017 23:46:45 +0200, Alexander Bluhm wrote: > On Fri, Mar 17, 2017 at 02:09:35AM +0100, Alexander Bluhm wrote: > > This is the next step for refactoring internal syslogd(8) logging. > > As we did not have nice log functions before, ttymsg() had to return > the error string. Log

Re: syslogd log ttymsg

2017-04-05 Thread Alexander Bluhm
On Fri, Mar 17, 2017 at 02:09:35AM +0100, Alexander Bluhm wrote: > This is the next step for refactoring internal syslogd(8) logging. As we did not have nice log functions before, ttymsg() had to return the error string. Log the message where the error happens and make the function void. ok?