Fix coverity defects: CID 147448, 147449, 147450, 147453, 147454

coverity scan CID:147448,type: unchecked return value
coverity scan CID:147449,type: unchecked return value
coverity scan CID:147450,type: unchecked return value
coverity scan CID:147453,type: unchecked return value
coverity scan CID:147454,type: unchecked return value

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: luozhengzheng <luo.zhengzheng@zte.com.cn>
Closes #5206
This commit is contained in:
luozhengzheng
2016-10-03 02:24:54 +08:00
committed by Brian Behlendorf
parent 0ca5261be4
commit aecdc70604
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -735,7 +735,7 @@ make_leaf_vdev(nvlist_t *props, const char *arg, uint64_t is_log)
}
if (ashift > 0)
nvlist_add_uint64(vdev, ZPOOL_CONFIG_ASHIFT, ashift);
(void) nvlist_add_uint64(vdev, ZPOOL_CONFIG_ASHIFT, ashift);
return (vdev);
}