fix error returned by compress_wait()
PATCH 1/1 fix error returned by compress_wait()
From: Eric Laurent <[email protected]>
oops() expects positive error codes.
Signed-off-by Eric Laurent <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- compress.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
compress.c +1 -1
@@ -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; }
Signature · 1 line
1.7.0.4