diff options
| author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-08-07 02:33:22 +0000 |
|---|---|---|
| committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-08-07 02:33:22 +0000 |
| commit | 3a41801e16f919463fa2a6241927a61c1c70b79a (patch) | |
| tree | 6e790214e135ffeda5150e038603a0cbc2e5d0c0 /sys/dev | |
| parent | ef17dbfea70e3619f283bd3435a653ed903e45ca (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/hyperv/utilities/hv_kvp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/utilities/hv_kvp.c b/sys/dev/hyperv/utilities/hv_kvp.c index ed9bc5e9b57e..c22706e093fa 100644 --- a/sys/dev/hyperv/utilities/hv_kvp.c +++ b/sys/dev/hyperv/utilities/hv_kvp.c @@ -253,7 +253,7 @@ hv_kvp_convert_utf8_ipinfo_to_utf16(struct hv_kvp_msg *umsg, UNUSED_FLAG, &err_dns); utf8_to_utf16((uint16_t *)host_ip_msg->kvp_ip_val.adapter_id, - MAX_IP_ADDR_SIZE, + MAX_ADAPTER_ID_SIZE, (char *)umsg->body.kvp_ip_val.adapter_id, strlen((char *)umsg->body.kvp_ip_val.adapter_id), UNUSED_FLAG, |
