24 Jul
2013
24 Jul
'13
7:56 p.m.
From: Eric Laurent elaurent@google.com
oops() expects positive error codes.
Signed-off-by: Eric Laurent elaurent@google.com Signed-off-by: Vinod Koul vinod.koul@intel.com --- compress.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/compress.c b/compress.c index 734fbbf..0e71c28 100644 --- a/compress.c +++ b/compress.c @@ -623,7 +623,7 @@ int compress_wait(struct compress *compress, int timeout_ms) return 0; } if (fds.revents & POLLERR) { - return oops(compress, -EIO, "poll returned error!"); + return oops(compress, EIO, "poll returned error!"); } return ret; }
--
1.7.0.4