[PATCH] opal: prd: Improve message when no PRD detected
Deb McLemore
debmc at linux.vnet.ibm.com
Thu Sep 1 18:10:35 UTC 2016
Add the device path to the message when no PRD is detected.
Signed-off-by: Deb McLemore <debmc at linux.vnet.ibm.com>
---
src/opal/prd_info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/opal/prd_info.c b/src/opal/prd_info.c
index d529504..93daceb 100644
--- a/src/opal/prd_info.c
+++ b/src/opal/prd_info.c
@@ -162,8 +162,8 @@ static int prd_info_test1(fwts_framework *fw)
if (!prd_present(R_OK | W_OK)) {
fwts_failed(fw, LOG_LEVEL_CRITICAL, "OPAL PRD Info",
"Cannot read and write to the OPAL PRD"
- " device interface,"
- " check your user privileges.");
+ " device interface %s, check your system"
+ " installation and user privileges.", prd_devnode);
return FWTS_ERROR;
}
--
2.7.4
More information about the fwts-devel
mailing list