X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Freopen.c;h=67a845cefdde322af807197364addfed80b84d0f;hb=c6340f45007b0ab7e1c5391cf78afc10a816553f;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);