summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-12 21:48:49 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:04 -0700
commit788b94201bcb354bf7d9c160371f52ecc6b1a458 (patch)
treefd5274118095a0d2100a0bbdbfa4a463b2ec1952 /wait_for_sysfs.c
parent858e0e81d041877d88ae4608ac569e9208661865 (diff)
[PATCH] add the error number to the error message in wait_for_sysfs to help out in debugging problems.
Diffstat (limited to 'wait_for_sysfs.c')
-rw-r--r--wait_for_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index bce60731fa..c1d7aa0a0c 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -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;
}