projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dabef7
)
options: parse placement IDs as unsigned values
author
Vincent Fu
<vincent.fu@samsung.com>
Thu, 4 Apr 2024 16:46:21 +0000
(16:46 +0000)
committer
Vincent Fu
<vincent.fu@samsung.com>
Wed, 24 Apr 2024 17:44:09 +0000
(13:44 -0400)
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index 4065b7a0e420fb5a1be1a1b127b9c8583bf36071..61ea41cc4e0fc673893c3b9ecc9ec647c4216e3a 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-271,7
+271,7
@@
static int str_fdp_pli_cb(void *data, const char *input)
strip_blank_end(str);
while ((v = strsep(&str, ",")) != NULL && i < FIO_MAX_DP_IDS) {
- unsigned long long id = strtoll(v, NULL, 0);
+ unsigned long long id = strto
u
ll(v, NULL, 0);
if (id > 0xFFFF) {
log_err("Placement IDs cannot exceed 0xFFFF\n");
free(p);