From: Jens Axboe Date: Mon, 6 Nov 2006 13:51:58 +0000 (+0100) Subject: [PATCH] Forgot to include 'M' as a unit postfix X-Git-Tag: fio-1.9~5 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5c1014b7aed20dcb4af602239d8f5f53d1e3160e [PATCH] Forgot to include 'M' as a unit postfix We skipped from K to G, forgetting 'M' in between... Signed-off-by: Jens Axboe --- 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) {