summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hci/strerror.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/hci/strerror.c b/src/hci/strerror.c
index 3caee4973..9356e9e0a 100644
--- a/src/hci/strerror.c
+++ b/src/hci/strerror.c
@@ -87,10 +87,13 @@ const char * strerror ( int errno ) {
/* Construct the error message */
if ( errortab ) {
- snprintf ( errbuf, sizeof ( errbuf ), "%s (%#08x)",
+ snprintf ( errbuf, sizeof ( errbuf ),
+ "%s (http://ipxe.org/%08x)",
errortab->text, errno );
} else {
- snprintf ( errbuf, sizeof ( errbuf ), "Error %#08x", errno );
+ snprintf ( errbuf, sizeof ( errbuf ),
+ "Error %#08x (http://ipxe.org/%08x)",
+ errno, errno );
}
return errbuf;