summaryrefslogtreecommitdiffstats
path: root/fish/reopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/reopen.c')
-rw-r--r--fish/reopen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fish/reopen.c b/fish/reopen.c
index b0769826..67a845ce 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);