From 65e1a120131f069fda859498ff4565a9b6e16dc2 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 30 Aug 2013 10:13:36 -0600 Subject: [PATCH] client: fix compile warning on platforms where pfds->fd is not an int It's apparently a long on some platforms. Signed-off-by: Jens Axboe --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 155eb720..b20d6dc2 100644 --- 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)) { -- 2.25.1