Vitezslav Samel <vitezslav(a)samel.cz> writes:
Hi!
[...]
On Sun, Apr 08, 2012 at 08:43:56PM +0200, Nikola Pajkovsky wrote:
> whenever iface_get_ifname() returns < 0, print errno
I tried that, but write_error("msg\n(%m)") looks very ugly; when
I tried with write_error("msg (%m)") with long msg and with long error
string, the resulting string overflowed to the next line and overwitten
"Press any key to continue" message. And I don't know how to print
multiline message with write_error().
Hmm, I thought so. write_error() is pretty stupid, nasty func and need
to be rewritten.
I also found sigsegv yesterdy in logging mechanism :-/
--
Nikola