mirror_zfs/cmd/zpool
Brian Behlendorf 65037d9b25 Add libzfs_error_init() function
All fprintf() error messages are moved out of the libzfs_init()
library function where they never belonged in the first place.  A
libzfs_error_init() function is added to provide useful error
messages for the most common causes of failure.

Additionally, in libzfs_run_process() the 'rc' variable was renamed
to 'error' for consistency with the rest of the code base.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
2015-05-22 13:34:58 -07:00
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Properly link zpool command to libblkid 2014-01-14 10:27:17 -08:00
zpool_iter.c Fix gcc missing parenthesis warnings 2010-08-31 08:38:35 -07:00
zpool_main.c Add libzfs_error_init() function 2015-05-22 13:34:58 -07:00
zpool_util.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zpool_util.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zpool_vdev.c Memory leak in make_root_vdev() 2015-04-27 09:18:02 -07:00