diff options
author | jkim <jkim@FreeBSD.org> | 2007-08-28 00:09:12 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2007-08-28 00:09:12 +0000 |
commit | 7237e013830b82cc5f4924d9a21a00568943e19e (patch) | |
tree | 049deabba3e07d516366964214f3ff1d33310e70 /sys/dev/isp/isp_freebsd.h | |
parent | bcf80156aca55ce61e93689631452f3728c8ba23 (diff) | |
download | FreeBSD-src-7237e013830b82cc5f4924d9a21a00568943e19e.zip FreeBSD-src-7237e013830b82cc5f4924d9a21a00568943e19e.tar.gz |
Fix off-by-two errors.
Both WWNN and WWPN are 64-bit unsigned integers and they are prefixed
with "0x", which requires two more bytes each.
Submitted by: Danny Braniss (danny at cs dot huji dot ac dot il)
via Matthew Jacob (lydianconcepts at gmail dot com)
Approved by: re (bmah)
MFC after: 3 days
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r-- | sys/dev/isp/isp_freebsd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 7f5bc15..b18f0dc 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -184,8 +184,8 @@ struct isposinfo { const struct firmware * fw; union { struct { - char wwnn[17]; - char wwpn[17]; + char wwnn[19]; + char wwpn[19]; } fc; } sysctl_info; #endif |