diff options
-rw-r--r-- | cmd/zinject/zinject.c | 2 | ||||
-rw-r--r-- | module/zfs/vdev_mirror.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index 393e50a28..cff7f861a 100644 --- a/cmd/zinject/zinject.c +++ b/cmd/zinject/zinject.c @@ -1221,7 +1221,7 @@ main(int argc, char **argv) if (dvas != 0) { if (error == EACCES || error == EINVAL) { - (void) fprintf(stderr, "the '-c' option may " + (void) fprintf(stderr, "the '-C' option may " "not be used with logical data errors " "'decrypt' and 'decompress'\n"); libzfs_fini(g_zfs); diff --git a/module/zfs/vdev_mirror.c b/module/zfs/vdev_mirror.c index a095e0977..59cc2dcdd 100644 --- a/module/zfs/vdev_mirror.c +++ b/module/zfs/vdev_mirror.c @@ -257,8 +257,6 @@ vdev_mirror_map_init(zio_t *zio) dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; dva_t dva_copy[SPA_DVAS_PER_BP]; - c = BP_GET_NDVAS(zio->io_bp); - /* * The sequential scrub code sorts and issues all DVAs * of a bp separately. Each of these IOs includes all |