X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gfio.c;h=37c1db6918d0f8e25280bceea5ec6735dcabee0d;hb=41177ed32fe815545061f7d10ce13559f1e9eb98;hp=65302e6075a01daad0b794417909e0e213b4f66a;hpb=8f91cc3f7835cdca84944d456e1da77d44a7c354;p=fio.git diff --git a/gfio.c b/gfio.c index 65302e60..37c1db69 100644 --- a/gfio.c +++ b/gfio.c @@ -444,7 +444,7 @@ static int send_job_file(struct gui_entry *ge) while (!flist_empty(&gc->o_list)) { struct gfio_client_options *gco; - gco = flist_entry(gc->o_list.next, struct gfio_client_options, list); + gco = flist_first_entry(&gc->o_list, struct gfio_client_options, list); flist_del(&gco->list); free(gco); }