On Mon, Feb 10, 2014 at 09:19:10AM -0500, Carlos Torres wrote: > Hello, > > On 2/10/14, sin <s...@2f30.org> wrote: > > So I don't see how or-ing the return values actually does anything. > > It can only be -1 or 0. > > > > Am I missing something here? > > No sir. this patch simply emulates whats wrong with util-linux's > swapon/swapoff. > Its not necessary unless you want full compatibility.
I'd like to avoid it as much as possible. A patch that factors out the function however, without playing tricks with the return value would be nice though,