mirror_zfs/lib/libzpool
Richard Yao 957dc93242 kobj_read_file: Return -1 on vn_rdwr() error
LLVM's static analyzer showed that we could subtract using an
uninitialized value on an error from vn_rdwr().

The correct behavior is to return -1 on an error, so lets do that
instead.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4104
2016-01-23 10:16:26 -08:00
..
kernel.c kobj_read_file: Return -1 on vn_rdwr() error 2016-01-23 10:16:26 -08:00
Makefile.am Illumos 5960, 5925 2016-01-08 15:08:19 -08:00
taskq.c Align thread priority with Linux defaults 2015-07-28 13:36:47 -07:00
util.c Fix gcc cast warnings 2010-08-27 15:33:32 -07:00