lscpu-virt: fix return type of read_hypervisor_cpuid for non x86.

This commit is contained in:
Érico Rolim 2020-11-15 11:53:39 -03:00
parent d4cb6a0335
commit b3ea5aaa64
1 changed files with 2 additions and 1 deletions

View File

@ -377,8 +377,9 @@ none:
}
#else /* ! (__x86_64__ || __i386__) */
static void read_hypervisor_cpuid(void)
static int read_hypervisor_cpuid(void)
{
return 0;
}
#endif