ZPOOL_HIST_ERRNO
if (nvlist_exists(events[i], ZPOOL_HIST_ERRNO)) {
ZPOOL_HIST_ERRNO));
if (nvlist_exists(rec, ZPOOL_HIST_ERRNO)) {
ZPOOL_HIST_ERRNO));
fnvlist_add_int64(lognv, ZPOOL_HIST_ERRNO,