summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-13 18:20:33 +0000
committermdf <mdf@FreeBSD.org>2011-01-13 18:20:33 +0000
commitc6121061dca348489bf5f45ce0cd136f6aca9abb (patch)
treecec0409da51735c0ef00a56cdb53790b37ce6d9f /sys/cam
parent306bf0c0556146f31a267cdfb61f5a21546d9693 (diff)
downloadFreeBSD-src-c6121061dca348489bf5f45ce0cd136f6aca9abb.zip
FreeBSD-src-c6121061dca348489bf5f45ce0cd136f6aca9abb.tar.gz
Add a 64-bit hex-printed sysctl(9) since there is at least one place in
the code that wanted it. It is named X64 rather than XQUAD since the quad name is a historical abomination that should not be perpetuated.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index b3b968c..ad58ac4 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -1127,9 +1127,9 @@ dasysctlinit(void *context, int pending)
struct ccb_trans_settings_fc *fc = &cts.xport_specific.fc;
if (fc->valid & CTS_FC_VALID_WWPN) {
softc->wwpn = fc->wwpn;
- SYSCTL_ADD_XLONG(&softc->sysctl_ctx,
+ SYSCTL_ADD_X64(&softc->sysctl_ctx,
SYSCTL_CHILDREN(softc->sysctl_tree),
- OID_AUTO, "wwpn", CTLTYPE_QUAD | CTLFLAG_RD,
+ OID_AUTO, "wwpn", CTLFLAG_RD,
&softc->wwpn, "World Wide Port Name");
}
}
OpenPOWER on IntegriCloud