From 788b94201bcb354bf7d9c160371f52ecc6b1a458 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Tue, 12 Oct 2004 21:48:49 -0700 Subject: [PATCH] [PATCH] add the error number to the error message in wait_for_sysfs to help out in debugging problems. --- wait_for_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5