diff options
Diffstat (limited to 'dump')
-rw-r--r-- | dump/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump/dump.c b/dump/dump.c index 45da46a952..dec32468d9 100644 --- a/dump/dump.c +++ b/dump/dump.c @@ -1986,7 +1986,7 @@ void qmp_dump_guest_memory(bool paging, const char *file, #if !defined(WIN32) if (strstart(file, "fd:", &p)) { - fd = monitor_get_fd(cur_mon, p, errp); + fd = monitor_get_fd(monitor_cur(), p, errp); if (fd == -1) { return; } |