freebsd-nq/cddl
Dimitry Andric 1e1bbb79fd Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8).
Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar
messages, if you pass in invalid types, sources or column names for "zfs
get", "zfs list" and "zpool get".  This is because the commands use
getsubopt(3), and in case of failure, they print 'value', which is NULL
when sub options don't match.

They should print 'suboptarg' instead, which is the documented way to
get at the non-matching sub option value.

Reviewed by:	smh
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D5365
2016-02-21 13:03:58 +00:00
..
compat/opensolaris Use calloc() instead of malloc() + bzero(). This also gets rid of a warning 2014-12-08 06:10:47 +00:00
contrib Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
lib We don't support libdtrace for RISC-V yet. 2016-01-25 10:18:41 +00:00
sbin Reduce overlinking 2015-12-24 11:35:42 +00:00
tests Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
usr.bin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
usr.sbin Test directories can build in parallel fine. 2016-02-16 02:13:59 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00