Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jan 13, 2016

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 204c368ebe461b08b18124e1e5555a65b128ab7a:

use option smalloc_pool_size (2016-01-08 14:29:12 +0100)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to a7cd478dffddb6d3d3109bce9f603139384c673e:

options: fix bs_cmp() (2016-01-12 10:18:50 -0700)

----------------------------------------------------------------
Jens Axboe (1):
options: fix bs_cmp()

 options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

options.c +1 -1
index 871552b..0bf1390 100644
@@ -41,7 +41,7 @@ static int bs_cmp(const void *p1, const void *p2)
 	const struct bssplit *bsp1 = p1;
 	const struct bssplit *bsp2 = p2;
 
-	return bsp1->perc < bsp2->perc;
+	return (int) bsp1->perc - (int) bsp2->perc;
 }
 
 static int bssplit_ddir(struct thread_options *o, int ddir, char *str)