[PATCH] add the error number to the error message in wait_for_sysfs to help out in debugging problems.

This commit is contained in:
greg@kroah.com 2004-10-12 21:48:49 -07:00 committed by Greg KH
parent 858e0e81d0
commit 788b94201b

View file

@ -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;
}