Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to qemu-2.6.
[kvmfornfv.git]
/
qemu
/
roms
/
ipxe
/
src
/
hci
/
strerror.c
diff --git
a/qemu/roms/ipxe/src/hci/strerror.c
b/qemu/roms/ipxe/src/hci/strerror.c
index
9356e9e
..
1bba8c6
100644
(file)
--- a/
qemu/roms/ipxe/src/hci/strerror.c
+++ b/
qemu/roms/ipxe/src/hci/strerror.c
@@
-2,6
+2,7
@@
#include <string.h>
#include <stdio.h>
#include <ipxe/errortab.h>
#include <string.h>
#include <stdio.h>
#include <ipxe/errortab.h>
+#include <config/branding.h>
/** @file
*
/** @file
*
@@
-18,7
+19,7
@@
*
*/
*
*/
-FILE_LICENCE ( GPL2_OR_LATER );
+FILE_LICENCE ( GPL2_OR_LATER
_OR_UBDL
);
/**
* Find error description
/**
* Find error description
@@
-74,7
+75,7
@@
static struct errortab * find_closest_error ( int errno ) {
* call to strerror().
*
*/
* call to strerror().
*
*/
-c
onst c
har * strerror ( int errno ) {
+char * strerror ( int errno ) {
static char errbuf[64];
struct errortab *errortab;
static char errbuf[64];
struct errortab *errortab;
@@
-88,11
+89,11
@@
const char * strerror ( int errno ) {
/* Construct the error message */
if ( errortab ) {
snprintf ( errbuf, sizeof ( errbuf ),
/* 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 ),
errortab->text, errno );
} else {
snprintf ( errbuf, sizeof ( errbuf ),
- "Error %#08x (
http://ipxe.org/%08x
)",
+ "Error %#08x (
" PRODUCT_ERROR_URI "
)",
errno, errno );
}
errno, errno );
}