sg engine: errno return value fixes
authorJens Axboe <jens.axboe@oracle.com>
Mon, 2 Apr 2007 08:42:33 +0000 (10:42 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 2 Apr 2007 08:42:33 +0000 (10:42 +0200)
commita05bd42ddbe73c726d062829c3295e7e315ee653
treed2cd1fb862f0e68e0cac76e308a6d03cc116e57f
parentb4ba5f302c467dc10c8b89459a8cb97d2958f359
sg engine: errno return value fixes

It was a little all-over-the-place, unify it - return -1 for error,
let the caller look at errno for the specific error.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/sg.c