zfs/cmd
Chris Dunlap 2c41df5bf8 Cleanup _zed_event_add_nvpair()
When _zed_event_add_var() was updated to be the common routine
for adding zedlet environment variables, an additional snprintf()
was added to the processing of each nvpair.  This commit changes
_zed_event_add_nvpair() to directly call _zed_event_add_var()
for nvpair non-array types, thereby removing a superfluous call to
snprintf().  For consistency, the helper functions for converting
nvpair array types are similarly adjusted to add variables.

The _zed_event_value_is_hex() and _zed_event_add_var() functions have
been moved up in the file since forward declarations are not used,
but no changes have been made to these functions.

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3042
2015-01-30 14:46:44 -08:00
..
arc_summary Replace sysctl summary with tunables summary. 2015-01-28 11:05:53 -08:00
arcstat Print header properly when terminal resizes 2014-11-14 15:32:30 -08:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Make directory into which mount.zfs is installed configurable 2014-10-28 09:40:59 -07:00
vdev_id vdev_id: use mawk-compatible regular expression 2014-12-19 12:05:16 -08:00
zdb Fix zdb segfault 2014-10-23 15:30:32 -07:00
zed Cleanup _zed_event_add_nvpair() 2015-01-30 14:46:44 -08:00
zfs Create an 'overlay' property 2014-08-15 13:39:19 -07:00
zhack Illumos 4370, 4371 2014-07-28 14:29:58 -07:00
zinject Make command line guid parsing more tolerant 2014-04-02 13:10:08 -07:00
zpios Fix error message in zpios 2014-01-29 15:11:56 -08:00
zpool Fix cstyle issue from c66989b 2014-12-19 12:00:14 -08:00
zstreamdump Illumos 4757, 4913 2014-08-01 14:28:05 -07:00
ztest Illumos 5164-5165 - space map fixes 2014-10-23 15:30:32 -07:00
zvol_id Improve zvol symlink handling. 2014-11-06 11:13:18 -08:00
Makefile.am Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00