summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cpucontrol
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-06-20 13:13:38 +0000
committerkib <kib@FreeBSD.org>2014-06-20 13:13:38 +0000
commitaf796366eb81db606f04f7bcb9363d26080b284b (patch)
treea96da53e534b64bb12c3124eaf81076623891ae1 /usr.sbin/cpucontrol
parent48fc86f80539c6362641bed31da3c45dc26a4bc8 (diff)
downloadFreeBSD-src-af796366eb81db606f04f7bcb9363d26080b284b.zip
FreeBSD-src-af796366eb81db606f04f7bcb9363d26080b284b.tar.gz
Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use
separate argument structure with added level_type field for CPUID_CPUID_COUNT request. Reviewed by: attilio (previous version) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/cpucontrol')
-rw-r--r--usr.sbin/cpucontrol/cpucontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cpucontrol/cpucontrol.c b/usr.sbin/cpucontrol/cpucontrol.c
index 9832d9f..69fdf3a 100644
--- a/usr.sbin/cpucontrol/cpucontrol.c
+++ b/usr.sbin/cpucontrol/cpucontrol.c
@@ -175,7 +175,7 @@ do_cpuid_count(const char *cmdarg, const char *dev)
{
char *cmdarg1, *endptr, *endptr1;
unsigned int level, level_type;
- cpuctl_cpuid_args_t args;
+ cpuctl_cpuid_count_args_t args;
int fd, error;
assert(cmdarg != NULL);
OpenPOWER on IntegriCloud