Fix typo in fio_cpu_count()
Reported-by: Paul Howarth <paul@city-fan.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index e35c835..22765ce 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -33,7 +33,7 @@
#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 ef80ce2..81d0402 100644
--- a/os/os-linux.h
+++ b/os/os-linux.h
@@ -62,7 +62,7 @@
#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)
{