diff options
author | Mike Zeller <mike@mikezeller.net> | 2021-07-27 16:23:35 -0400 |
---|---|---|
committer | Mike Zeller <mike@mikezeller.net> | 2021-07-27 16:25:07 -0400 |
commit | 5deb90f6ffa1c3f2c4c61bc28415fe422114844e (patch) | |
tree | 190d2499e37bd23ac5dd4cd858dfd730b300e42d | |
parent | 104b08ff82d4eacfced98592710a8d27db4bf41f (diff) | |
download | illumos-joyent-5deb90f6ffa1c3f2c4c61bc28415fe422114844e.tar.gz |
Adjusting for upstream mismergeOS-8005-revert
-rw-r--r-- | usr/src/uts/i86pc/io/vmm/vmm_sol_dev.c | 2 |
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); |