mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
st/prober: Better error printing
This commit is contained in:
parent
f2fcfd98e1
commit
d8cd9ffcdd
|
@ -597,7 +597,8 @@ open_hid_interface(struct xrt_prober *xp,
|
|||
|
||||
ret = os_hid_open_hidraw(hidraw->path, out_hid_dev);
|
||||
if (ret != 0) {
|
||||
P_ERROR(p, "Failed to open device!");
|
||||
P_ERROR(p, "Failed to open device '%s' got '%i'",
|
||||
hidraw->path, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue