libxl: fix incorrect log message in libxl_domain_destroy
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 15 Dec 2011 17:55:46 +0000 (18:55 +0100)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 15 Dec 2011 17:55:46 +0000 (18:55 +0100)
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>
tools/libxl/libxl.c

index 6a338447057a489003d586f0d4ba212ab9facced..99b29eb517d576daa941abc9c61310a907ffe481 100644 (file)
@@ -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)