zfs/lib/libzpool
Brian Behlendorf 0e5b68e015 Fix gcc fortify source warnings
Resolve issues uncovered by -D_FORTIFY_SOURCE=2, the default redhat
macro's file adds this option to the cflags.  This causes warnings
of the following type designed to keep the developer honest:

        warning: ignoring return value of 'foo', declared
                 with attribute warn_unused_result

The short term fix is to wrap these calls in VERIFY() to check the
return code.  The code was already assusing these would never fail.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-27 15:34:02 -07:00
..
include/sys Update to onnv_147 2010-08-26 14:24:34 -07:00
kernel.c Fix gcc fortify source warnings 2010-08-27 15:34:02 -07:00
taskq.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
util.c Fix gcc cast warnings 2010-08-27 15:33:32 -07:00