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:
parent
f7dc5f6146
commit
6af9d35edc
1 changed files with 2 additions and 2 deletions
|
@ -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{[&]
|
||||
|
|
Loading…
Reference in a new issue