summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Zeller <mike@mikezeller.net>2021-07-27 16:23:35 -0400
committerMike Zeller <mike@mikezeller.net>2021-07-27 16:25:07 -0400
commit5deb90f6ffa1c3f2c4c61bc28415fe422114844e (patch)
tree190d2499e37bd23ac5dd4cd858dfd730b300e42d
parent104b08ff82d4eacfced98592710a8d27db4bf41f (diff)
downloadillumos-joyent-OS-8005-revert.tar.gz
Adjusting for upstream mismergeOS-8005-revert
-rw-r--r--usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c b/usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c
index 56869e4c01..d5f4b3883b 100644
--- a/usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c
+++ b/usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c
@@ -2186,7 +2186,7 @@ vmm_is_supported(intptr_t arg)
}
if (r != 0 && arg != (intptr_t)NULL) {
- if (copyoutstr(msg, (char *)arg, strlen(msg), NULL) != 0)
+ if (copyoutstr(msg, (char *)arg, strlen(msg) + 1, NULL) != 0)
return (EFAULT);
}
return (r);