Lee Duncan
unread,May 21, 2013, 5:15:00 PM5/21/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to open-...@googlegroups.com
I mentioned this before, but I didn't have a good solution at the time.
In usr/iscsi_util.c, nice() is called like this:
if (nice(-10) < 0)
log_debug(...)
The problem is that nice() returns the current nice value,
and that value can legitimately be less than zero, in which
case a spurious log message is generated.
Although I don't like setting errno directly except when in a
library, the nice(2) man page actually suggests this as the
best way to fix the problem.
Therefore, the supplied patch is designed to fix this problem.
--
Ignore the Lee-Man behind the curtain ...
"Life's a long song. But the tune ends too soon for us all." -- Ian Anderson