summaryrefslogtreecommitdiffstats
path: root/cmd/zpios/zpios_main.c
diff options
context:
space:
mode:
authorluozhengzheng <[email protected]>2016-10-03 02:24:54 +0800
committerBrian Behlendorf <[email protected]>2016-10-02 11:24:54 -0700
commitaecdc70604df56d010f99f3ba1c0780d242ac357 (patch)
treeaa73b22fdd39e18b5a930ec3302582e0d63f4802 /cmd/zpios/zpios_main.c
parent0ca5261be44abd9f6587792df1dc0c8ff73d2f7c (diff)
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 <[email protected]> Signed-off-by: luozhengzheng <[email protected]> Closes #5206
Diffstat (limited to 'cmd/zpios/zpios_main.c')
-rw-r--r--cmd/zpios/zpios_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpios/zpios_main.c b/cmd/zpios/zpios_main.c
index d0e3f7b91..a413453e4 100644
--- a/cmd/zpios/zpios_main.c
+++ b/cmd/zpios/zpios_main.c
@@ -388,7 +388,7 @@ dev_clear(void)
fprintf(stderr, "Ioctl() error %lu / %d: %d\n",
(unsigned long) ZPIOS_CFG, cfg.cfg_cmd, errno);
- lseek(zpiosctl_fd, 0, SEEK_SET);
+ (void) lseek(zpiosctl_fd, 0, SEEK_SET);
return (rc);
}