From eac445b650d60b54bae2e6738ef45117adacd90a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 11 Feb 2015 13:32:57 +0000 Subject: [build] Allow error message URI to be customised via config/branding.h Signed-off-by: Michael Brown --- src/hci/strerror.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/hci') diff --git a/src/hci/strerror.c b/src/hci/strerror.c index 9356e9e0..4e97d957 100644 --- a/src/hci/strerror.c +++ b/src/hci/strerror.c @@ -2,6 +2,7 @@ #include #include #include +#include /** @file * @@ -88,11 +89,11 @@ const char * strerror ( int errno ) { /* Construct the error message */ if ( errortab ) { snprintf ( errbuf, sizeof ( errbuf ), - "%s (http://ipxe.org/%08x)", + "%s (" PRODUCT_ERROR_URI ")", errortab->text, errno ); } else { snprintf ( errbuf, sizeof ( errbuf ), - "Error %#08x (http://ipxe.org/%08x)", + "Error %#08x (" PRODUCT_ERROR_URI ")", errno, errno ); } -- cgit v1.2.3-55-g7522