projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56036a
)
client: fix compile warning on platforms where pfds->fd is not an int
author
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Aug 2013 16:13:36 +0000
(10:13 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Aug 2013 16:13:36 +0000
(10:13 -0600)
It's apparently a long on some platforms.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index 155eb72070038347e2857c26f71437aaa7f741b1..b20d6dc288f5ebd5863419ff8f114ca0fbe84c56 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1462,7
+1462,7
@@
int fio_handle_clients(struct client_ops *ops)
client = find_client_by_fd(pfds[i].fd);
if (!client) {
- log_err("fio: unknown client fd %
d\n",
pfds[i].fd);
+ log_err("fio: unknown client fd %
ld\n", (long)
pfds[i].fd);
continue;
}
if (!fio_handle_client(client)) {