Fix coverity defects: CID 147534
commit81eb8a1fbb5dae86bebdc6c518071ae3ab062e3f
authorcao <cao.xuewen@zte.com.cn>
Fri, 16 Dec 2016 17:11:17 +0000 (17 01:11 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Dec 2016 17:11:17 +0000 (16 09:11 -0800)
treead995fff1636bb686028e762369be2bf58e19244
parent01017962908392b83764f29b21e687844636eed6
Fix coverity defects: CID 147534

CID 147534: Negative array index read

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 #5467
cmd/zfs/zfs_main.c