aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/libxl/libxl_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c
index 8e8410e214..c3283f1d88 100644
--- a/tools/libxl/libxl_device.c
+++ b/tools/libxl/libxl_device.c
@@ -854,7 +854,8 @@ static void device_backend_callback(libxl__egc *egc, libxl__ev_devstate *ds,
}
if (rc) {
- LOG(ERROR, "unable to disconnect device with path %s",
+ LOG(ERROR, "unable to %s device with path %s",
+ aodev->action == DEVICE_CONNECT ? "connect" : "disconnect",
libxl__device_backend_path(gc, aodev->dev));
goto out;
}