From 5c1014b7aed20dcb4af602239d8f5f53d1e3160e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 6 Nov 2006 14:51:58 +0100 Subject: [PATCH 1/1] [PATCH] Forgot to include 'M' as a unit postfix We skipped from K to G, forgetting 'M' in between... Signed-off-by: Jens Axboe --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.c b/init.c index f6cf888c..0352c555 100644 --- a/init.c +++ b/init.c @@ -517,7 +517,7 @@ static void fixup_options(struct thread_data *td) static char *to_kmg(unsigned int val) { char *buf = malloc(32); - char post[] = { 0, 'K', 'G', 'P', -1 }; + char post[] = { 0, 'K', 'M', 'G', 'P', -1 }; char *p = post; while (*p != -1) { -- 2.25.1