Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/common/zfs use the right variables ...
details: https://anonhg.NetBSD.org/src/rev/a1a67a419557
branches: trunk
changeset: 365504:a1a67a419557
user: christos <christos%NetBSD.org@localhost>
date: Sat Aug 18 12:00:11 2018 +0000
description:
use the right variables (fix cut-n-pastos)
diffstat:
external/cddl/osnet/dist/common/zfs/zfs_ioctl_compat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r d07ee42195f0 -r a1a67a419557 external/cddl/osnet/dist/common/zfs/zfs_ioctl_compat.c
--- a/external/cddl/osnet/dist/common/zfs/zfs_ioctl_compat.c Sat Aug 18 11:59:25 2018 +0000
+++ b/external/cddl/osnet/dist/common/zfs/zfs_ioctl_compat.c Sat Aug 18 12:00:11 2018 +0000
@@ -333,7 +333,7 @@
FIELD_COPY(zc_inject_record.zi_freq);
FIELD_COPY(zc_inject_record.zi_failfast);
strlcpy(zc->zc_inject_record.zi_func,
- resume_c->zc_inject_record.zi_func, MAXNAMELEN);
+ zcdm_c->zc_inject_record.zi_func, MAXNAMELEN);
FIELD_COPY(zc_inject_record.zi_iotype);
FIELD_COPY(zc_inject_record.zi_duration);
FIELD_COPY(zc_inject_record.zi_timer);
@@ -617,7 +617,7 @@
FIELD_COPY(zc_inject_record.zi_type);
FIELD_COPY(zc_inject_record.zi_freq);
FIELD_COPY(zc_inject_record.zi_failfast);
- strlcpy(resume_c->zc_inject_record.zi_func,
+ strlcpy(edbp_c->zc_inject_record.zi_func,
zc->zc_inject_record.zi_func, MAXNAMELEN);
FIELD_COPY(zc_inject_record.zi_iotype);
FIELD_COPY(zc_inject_record.zi_duration);
@@ -675,7 +675,7 @@
FIELD_COPY(zc_inject_record.zi_type);
FIELD_COPY(zc_inject_record.zi_freq);
FIELD_COPY(zc_inject_record.zi_failfast);
- strlcpy(resume_c->zc_inject_record.zi_func,
+ strlcpy(zcmd_c->zc_inject_record.zi_func,
zc->zc_inject_record.zi_func, MAXNAMELEN);
FIELD_COPY(zc_inject_record.zi_iotype);
FIELD_COPY(zc_inject_record.zi_duration);
@@ -744,7 +744,7 @@
FIELD_COPY(zc_inject_record.zi_type);
FIELD_COPY(zc_inject_record.zi_freq);
FIELD_COPY(zc_inject_record.zi_failfast);
- strlcpy(resume_c->zc_inject_record.zi_func,
+ strlcpy(zcdm_c->zc_inject_record.zi_func,
zc->zc_inject_record.zi_func, MAXNAMELEN);
FIELD_COPY(zc_inject_record.zi_iotype);
FIELD_COPY(zc_inject_record.zi_duration);
Home |
Main Index |
Thread Index |
Old Index