0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00

ircd::info: Fix platform condition; string length.

This commit is contained in:
Jason Volk 2019-04-01 02:02:57 -07:00
parent f7dc5f6146
commit 6af9d35edc

View file

@ -338,7 +338,7 @@ ircd::info::page_size
// Platform information
//
#ifdef HAVE_CPUID_H
#ifdef __x86_64__
static ircd::uint128_t
get_cpuid(const uint &leaf,
const uint &subleaf)
@ -388,7 +388,7 @@ ircd::info::cpuid
};
char
_cpuvendor_[16];
_cpuvendor_[12];
decltype(ircd::info::cpuvendor)
ircd::info::cpuvendor{[&]