[PATCH] add the error number to the error message in wait_for_sysfs to help out in debugging problems.
This commit is contained in:
parent
858e0e81d0
commit
788b94201b
|
@ -408,8 +408,8 @@ exit:
|
|||
dbg("result: waiting for sysfs successful '%s'", devpath);
|
||||
else
|
||||
info("error: wait_for_sysfs needs an update to handle the device '%s' "
|
||||
"properly, please report to <linux-hotplug-devel@lists.sourceforge.net>",
|
||||
devpath);
|
||||
"properly (%d), please report to <linux-hotplug-devel@lists.sourceforge.net>",
|
||||
devpath, rc);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue