From: Jens Axboe Date: Tue, 30 May 2006 11:45:51 +0000 (+0200) Subject: [PATCH] End stripping exposed suffix bug X-Git-Tag: fio-1.4~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9d0d424761eeff6e8a88103c23d9bdf481a97d8e;p=fio.git [PATCH] End stripping exposed suffix bug --- diff --git a/fio-ini.c b/fio-ini.c index 540902fe..9f2f06eb 100644 --- a/fio-ini.c +++ b/fio-ini.c @@ -362,7 +362,7 @@ static int str_cnv(char *p, unsigned long long *val) if (*val == ULONG_MAX && errno == ERANGE) return 1; - *val *= get_mult(str[len - 2]); + *val *= get_mult(str[len - 1]); return 0; }