aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-30 12:59:04 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:11:16 +0100
commit4c42b7d238a004638773aaaa1d329ece1b5840f8 (patch)
tree435e80247e13aeb11728807d5c00b40e1d7d09e2
parent9d2da71e3d635b6b9322b1ce04e4bdd8fd2e80ff (diff)
downloadsyslinux-4c42b7d238a004638773aaaa1d329ece1b5840f8.tar.gz
syslinux-4c42b7d238a004638773aaaa1d329ece1b5840f8.tar.xz
syslinux-4c42b7d238a004638773aaaa1d329ece1b5840f8.zip
dmi: returning out of spec instead of NULL
Impact: avoid null string It's better returning out of spec instead of null
-rw-r--r--com32/gpllib/dmi/dmi_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/dmi/dmi_cache.c b/com32/gpllib/dmi/dmi_cache.c
index 24e564b6..4c3f83ce 100644
--- a/com32/gpllib/dmi/dmi_cache.c
+++ b/com32/gpllib/dmi/dmi_cache.c
@@ -40,7 +40,7 @@ const char *dmi_cache_location(uint8_t code)
static const char *location[4] = {
"Internal", /* 0x00 */
"External",
- NULL, /* 0x02 */
+ "<OUT OF SPEC", /* 0x02 */
"Unknown" /* 0x03 */
};