From: Jens Axboe Date: Tue, 4 Mar 2014 16:02:10 +0000 (-0700) Subject: Fix typo in fio_cpu_count() X-Git-Tag: fio-2.1.6.1~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d004a209eee0a8db603c2d7ca6dc5fb6c367aa5a Fix typo in fio_cpu_count() Reported-by: Paul Howarth Signed-off-by: Jens Axboe --- 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) {