freebsd-src/cddl/contrib/opensolaris
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
..
cmd Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
common remove an extra copy of avl.c from illumos contrib code 2015-09-28 12:23:10 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib MFV 295046: 6358 A faulted pool with only unavailable vdevs triggers 2016-01-29 17:20:59 +00:00
tools/ctf Remove a dead local variable, missed in r274565. 2016-01-14 00:34:37 +00:00
OPENSOLARIS.LICENSE