diff options
author | Vincent Fu <vincent.fu@samsung.com> | 2024-04-04 16:46:21 +0000 |
---|---|---|
committer | Vincent Fu <vincent.fu@samsung.com> | 2024-04-24 13:44:09 -0400 |
commit | 33f5cb572c4b5856e18ff8705fe3e9e37da9e6bf (patch) | |
tree | 786bb9d5dcaf1a82cb6461b9184ebd70441a96cd | |
parent | 3dabef7c3139835d4afada65fb3f7ac8609e42eb (diff) | |
download | fio-33f5cb572c4b5856e18ff8705fe3e9e37da9e6bf.tar.gz |
options: parse placement IDs as unsigned values
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = strtoull(v, NULL, 0); if (id > 0xFFFF) { log_err("Placement IDs cannot exceed 0xFFFF\n"); free(p); |