[PATH 0 of 1] Fix check for nice() return value

2013-05-21 Thread Lee Duncan
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

Re: [PATH 0 of 1] Fix check for nice() return value

2013-05-21 Thread The Lee-Man
Apologies for Subject formatting errors ... I need to wean myself off of OS X ... On Tuesday, May 21, 2013 2:15:00 PM UTC-7, The Lee-Man wrote: 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)