From 47418f1e712016fff84a35fb6051c7c0969d5a5b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 1 Oct 2019 13:04:01 +0200 Subject: [PATCH] Some typo fixes in human readable text. --- cpuid_tool/cpuid_tool.c | 4 ++-- libcpuid/libcpuid.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpuid_tool/cpuid_tool.c b/cpuid_tool/cpuid_tool.c index 6717f1a..a6ba731 100644 --- a/cpuid_tool/cpuid_tool.c +++ b/cpuid_tool/cpuid_tool.c @@ -162,7 +162,7 @@ static void usage(void) printf("Options:\n"); printf(" -h, --help - Show this help\n"); printf(" --load= - Load raw CPUID data from file\n"); - printf(" --save= - Aquire raw CPUID data and write it to file\n"); + printf(" --save= - Acquire raw CPUID data and write it to file\n"); printf(" --report, --all - Report all decoded CPU info (w/o clock)\n"); printf(" --clock - in conjunction to --report: print CPU clock as well\n"); printf(" --clock-rdtsc - same as --clock, but use RDTSC for clock detection\n"); @@ -173,7 +173,7 @@ static void usage(void) printf(" --verbose, -v - be extra verbose (more keys increase verbosiness level)\n"); printf(" --version - print library version\n"); printf("\n"); - printf("Query switches (generate 1 line of ouput per switch; in order of appearance):"); + printf("Query switches (generate 1 line of output per switch; in order of appearance):"); line_fill = 80; for (i = 0; i < sz_match; i++) { diff --git a/libcpuid/libcpuid.h b/libcpuid/libcpuid.h index 2b8c6bb..63cd1d2 100644 --- a/libcpuid/libcpuid.h +++ b/libcpuid/libcpuid.h @@ -264,7 +264,7 @@ struct cpu_id_t { /** * The total number of logical processors. - * The same value is availabe through \ref cpuid_get_total_cpus. + * The same value is available through \ref cpuid_get_total_cpus. * * This is num_logical_cpus * {total physical processors in the system} * (but only on a real system, under a VM this number may be lower). @@ -734,7 +734,7 @@ void cpu_tsc_mark(struct cpu_mark_t* mark); /** * @brief Calculate TSC and timing difference * - * @param mark - input/output: a pointer to a cpu_mark_t sturcture, which has + * @param mark - input/output: a pointer to a cpu_mark_t structure, which has * already been initialized by cpu_tsc_mark. The difference in * TSC and time will be written here. *