chiark / gitweb /
[PATCH] add the error number to the error message in wait_for_sysfs to help out in...
authorgreg@kroah.com <greg@kroah.com>
Wed, 13 Oct 2004 04:48:49 +0000 (21:48 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:04 +0000 (21:37 -0700)
wait_for_sysfs.c

index bce6073..c1d7aa0 100644 (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;
 }