printf("%m") doesn't generate a warning -- shouldn't it?
Ed Schouten
ed at nuxi.nl
Tue May 22 08:17:28 UTC 2018
2018-05-21 15:43 GMT+02:00 Konstantin Belousov <kostikbel at gmail.com>:
> Why not add %m instead ? It is very easy and several people did it in
> round-about ways.
Added advantage of that approach is that it allows the syslog()
function to be simplified significantly. No need to expand the %m
there, which ends up being quite messy.
--
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
More information about the freebsd-hackers
mailing list