From: greg@kroah.com Date: Wed, 13 Oct 2004 04:48:49 +0000 (-0700) Subject: [PATCH] add the error number to the error message in wait_for_sysfs to help out in... X-Git-Tag: 036~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788b94201bcb354bf7d9c160371f52ecc6b1a458;p=systemd [PATCH] add the error number to the error message in wait_for_sysfs to help out in debugging problems. --- diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index bce60731..c1d7aa0a 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 ", - devpath); + "properly (%d), please report to ", + devpath, rc); return rc; }