summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zhack
diff options
context:
space:
mode:
authorChristopher Siden <chris.siden@delphix.com>2012-07-19 04:58:27 -0700
committerChristopher Siden <chris.siden@delphix.com>2012-07-19 04:58:27 -0700
commit57221772c3fc05faba04bf48ddff45abf2bbf2bd (patch)
treec5cee9fd458d8493bc0a7be97ba725ffdc17eed7 /usr/src/cmd/zhack
parent21b27315a4575c86ba26ddfbccfaa768f2d1d37a (diff)
downloadillumos-joyent-57221772c3fc05faba04bf48ddff45abf2bbf2bd.tar.gz
2762 zpool command should have better support for feature flags
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
Diffstat (limited to 'usr/src/cmd/zhack')
-rw-r--r--usr/src/cmd/zhack/zhack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/zhack/zhack.c b/usr/src/cmd/zhack/zhack.c
index f4be0b2a55..7cc83d2dc0 100644
--- a/usr/src/cmd/zhack/zhack.c
+++ b/usr/src/cmd/zhack/zhack.c
@@ -280,7 +280,7 @@ feature_enable_sync(void *arg1, void *arg2, dmu_tx_t *tx)
spa_feature_enable(spa, feature, tx);
spa_history_log_internal(spa, "zhack enable feature", tx,
- "name=%s can_readonly=%u",
+ "guid=%s can_readonly=%u",
feature->fi_guid, feature->fi_can_readonly);
}
@@ -360,7 +360,7 @@ feature_incr_sync(void *arg1, void *arg2, dmu_tx_t *tx)
spa_feature_incr(spa, feature, tx);
spa_history_log_internal(spa, "zhack feature incr", tx,
- "name=%s", feature->fi_guid);
+ "guid=%s", feature->fi_guid);
}
static void
@@ -371,7 +371,7 @@ feature_decr_sync(void *arg1, void *arg2, dmu_tx_t *tx)
spa_feature_decr(spa, feature, tx);
spa_history_log_internal(spa, "zhack feature decr", tx,
- "name=%s", feature->fi_guid);
+ "guid=%s", feature->fi_guid);
}
static void