chain/partiter: adjust error reporting
commit69e1b85fdee3db74cadf2e61e9ab34a9f70ab981
authorMichal Soltys <soltys@ziu.info>
Sun, 29 Jun 2014 19:41:40 +0000 (29 21:41 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 27 Aug 2014 01:07:18 +0000 (26 18:07 -0700)
treee31f22198a10564c6409be5f0c3f6272556adb24
parent9cffba471b6a41f363abc68509f112d9a85c4872
chain/partiter: adjust error reporting

Use <0 for errors, 0 for normal state, and >0 for clean completion.

In future this would be necessary if it's decided to make partiter
a generic lib (similar to disklib) - though it has to be quieted first
and provide strerr()-like functionality in place of its verbosity.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/chain/chain.c
com32/chain/mangle.c
com32/chain/partiter.h