diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zpios/zpios_main.c | 2 | ||||
-rw-r--r-- | cmd/zpool/zpool_vdev.c | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index b51b9c9c3..b0db5e873 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -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); } |