X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Freopen.c;h=67a845cefdde322af807197364addfed80b84d0f;hb=407d8fe1db9b8c9b0b6608353e000cb08daa5605;hp=b07698263ccb6a355f434c4eb3567c456257e387;hpb=6391d1a7cfa10337a75465c72d49df3c9ebc65ca;p=libguestfs.git diff --git a/fish/reopen.c b/fish/reopen.c index b076982..67a845c 100644 --- a/fish/reopen.c +++ b/fish/reopen.c @@ -67,7 +67,8 @@ run_reopen (const char *cmd, size_t argc, char *argv[]) guestfs_set_path (g2, p); if (progress_bars) - guestfs_set_progress_callback (g2, progress_callback, NULL); + guestfs_set_event_callback (g2, progress_callback, + GUESTFS_EVENT_PROGRESS, 0, NULL); /* Close the original handle. */ guestfs_close (g);