projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
engines/http: use proper error value
[fio.git]
/
engines
/
http.c
diff --git
a/engines/http.c
b/engines/http.c
index 001479b055d5c82556c1f6348faa6bb842a7e40c..99f4e119a4f5f0fcd5d59134ae07e0923c9559af 100644
(file)
--- a/
engines/http.c
+++ b/
engines/http.c
@@
-711,7
+711,7
@@
static enum fio_q_status fio_http_queue(struct thread_data *td,
log_err("WARNING: Only DDIR_READ/DDIR_WRITE/DDIR_TRIM are supported!\n");
err:
- io_u->error =
-1
;
+ io_u->error =
EIO
;
td_verror(td, io_u->error, "transfer");
out:
curl_slist_free_all(slist);