From d004a209eee0a8db603c2d7ca6dc5fb6c367aa5a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 4 Mar 2014 09:02:10 -0700 Subject: [PATCH] Fix typo in fio_cpu_count() Reported-by: Paul Howarth Signed-off-by: Jens Axboe --- os/os-freebsd.h | 2 +- os/os-linux.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/os/os-freebsd.h b/os/os-freebsd.h index e35c8354..22765ce6 100644 --- a/os/os-freebsd.h +++ b/os/os-freebsd.h @@ -33,7 +33,7 @@ typedef cpuset_t os_cpu_mask_t; #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask)) #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask)) #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask)) -#define fio_cpu_count(maks) CPU_COUNT((mask)) +#define fio_cpu_count(mask) CPU_COUNT((mask)) static inline int fio_cpuset_init(os_cpu_mask_t *mask) { diff --git a/os/os-linux.h b/os/os-linux.h index ef80ce2b..81d04027 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -62,7 +62,7 @@ typedef struct drand48_data os_random_state_t; #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask)) #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask)) #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask)) -#define fio_cpu_count(maks) CPU_COUNT((mask)) +#define fio_cpu_count(mask) CPU_COUNT((mask)) static inline int fio_cpuset_init(os_cpu_mask_t *mask) { -- 2.25.1