gclient: update to new probe command format
authorJens Axboe <axboe@kernel.dk>
Fri, 12 Apr 2013 12:13:15 +0000 (14:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Apr 2013 12:13:15 +0000 (14:13 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gclient.c

index 6f7865c5d0c8127766e4f2328d1cde5cb9e87f35..4360aea89ecf7f0d89dd2f204e004968dd4ad388 100644 (file)
--- a/gclient.c
+++ b/gclient.c
@@ -534,7 +534,7 @@ static void gfio_update_all_eta(struct jobs_eta *je)
 
 static void gfio_probe_op(struct fio_client *client, struct fio_net_cmd *cmd)
 {
-       struct cmd_probe_pdu *probe = (struct cmd_probe_pdu *) cmd->payload;
+       struct cmd_probe_reply_pdu *probe = (struct cmd_probe_reply_pdu *) cmd->payload;
        struct gfio_client *gc = client->client_data;
        struct gui_entry *ge = gc->ge;
        const char *os, *arch;