[host] app: fix out by one compiler warning

This commit is contained in:
Geoffrey McRae 2022-01-05 19:23:19 +11:00
parent ba9f2b85b6
commit 0ccc84959e

View File

@ -629,7 +629,7 @@ static bool newKVMFRData(KVMFRUserData * dst)
record->size = sizeof(*osInfo);
osInfo->os = KVMFR_OS_OTHER;
if (!appendBuffer(dst, record, "Unknown", 9))
if (!appendBuffer(dst, record, "Unknown\0", 9))
return false;
}