Fix typo in fio_cpu_count()
authorJens Axboe <axboe@fb.com>
Tue, 4 Mar 2014 16:02:10 +0000 (09:02 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 4 Mar 2014 16:02:10 +0000 (09:02 -0700)
Reported-by: Paul Howarth <paul@city-fan.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
os/os-freebsd.h
os/os-linux.h

index e35c8354ad9b9bd8372153e1579bb88f5b54bd72..22765ce60161075bb4aba10c32d4ddd4900ddf90 100644 (file)
@@ -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)
 {
index ef80ce2bd274182ced24cfbdfe76369bde33f4aa..81d04027efb9491fde44c783922dc368734d5042 100644 (file)
@@ -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)
 {