From 5deb90f6ffa1c3f2c4c61bc28415fe422114844e Mon Sep 17 00:00:00 2001 From: Mike Zeller Date: Tue, 27 Jul 2021 16:23:35 -0400 Subject: Adjusting for upstream mismerge --- usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3