Commit d8cd9ffc authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

st/prober: Better error printing

parent f2fcfd98
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment