Fix coverity defects: CID 147452, 147447, 147446

coverity scan CID:147452, Type:Unchecked return value from library
coverity scan CID:147447, Type:Unchecked return value from library
coverity scan CID:147446, Type:Unchecked return value from library

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5264
This commit is contained in:
cao
2016-10-12 02:32:34 +08:00
committed by Brian Behlendorf
parent fad5fb01ad
commit af4db70f36
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1045,7 +1045,7 @@ kobj_get_filesize(struct _buf *file, uint64_t *size)
void
delay(clock_t ticks)
{
poll(0, 0, ticks * (1000 / hz));
(void) poll(0, 0, ticks * (1000 / hz));
}
/*