projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] End stripping exposed suffix bug
[fio.git]
/
fio-ini.c
diff --git
a/fio-ini.c
b/fio-ini.c
index 540902fee58d1e3ad51e165c18a983fd314f26fe..9f2f06eb26de77a8b90abc1bb79920aa125db527 100644
(file)
--- 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;
if (*val == ULONG_MAX && errno == ERANGE)
return 1;
- *val *= get_mult(str[len -
2
]);
+ *val *= get_mult(str[len -
1
]);
return 0;
}
return 0;
}