mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
libxl: fix incorrect log message in libxl_domain_destroy
Fix a log message that was referring to libxl_devices_dispose instead of libxl__devices_destroy. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
c811f6765b
commit
8e4cd77b8a
1 file changed
+2
-1
+2
-1
@@ -773,7 +773,8 @@ int libxl_domain_destroy(libxl_ctx *ctx, uint32_t domid, int force)
|
||||
libxl__qmp_cleanup(gc, domid);
|
||||
}
|
||||
if (libxl__devices_destroy(gc, domid, force) < 0)
|
||||
LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "libxl_devices_dispose failed for %d", domid);
|
||||
LIBXL__LOG(ctx, LIBXL__LOG_ERROR,
|
||||
"libxl__devices_destroy failed for %d", domid);
|
||||
|
||||
vm_path = libxl__xs_read(gc, XBT_NULL, libxl__sprintf(gc, "%s/vm", dom_path));
|
||||
if (vm_path)
|
||||
|
||||