mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
libxl: Print device_kind as a string
Printing the integer isn't particularly informative. Switch to a human-readable string when printing the device_kind in libxl__get_hotplug_script_info(). Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Reviewed-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
1 parent
ed70714236
commit
2ffa3b2d68
1 file changed
+2
-2
@@ -231,8 +231,8 @@ int libxl__get_hotplug_script_info(libxl__gc *gc, libxl__device *dev,
|
||||
break;
|
||||
default:
|
||||
/* No need to execute any hotplug scripts */
|
||||
LOGD(DEBUG, dev->domid,
|
||||
"backend_kind %d, no need to execute scripts", dev->backend_kind);
|
||||
LOGD(DEBUG, dev->domid, "backend_kind %s, no need to execute scripts",
|
||||
libxl__device_kind_to_string(dev->backend_kind));
|
||||
rc = 0;
|
||||
break;
|
||||
}
|
||||
|
||||