projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4ae3f76
)
[PATCH] End stripping exposed suffix bug
author
Jens Axboe
<axboe@suse.de>
Tue, 30 May 2006 11:45:51 +0000
(13:45 +0200)
committer
Jens Axboe
<axboe@suse.de>
Tue, 30 May 2006 11:45:51 +0000
(13:45 +0200)
fio-ini.c
patch
|
blob
|
blame
|
history
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;
}