From 4c42b7d238a004638773aaaa1d329ece1b5840f8 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 30 Nov 2009 12:59:04 +0100 Subject: [PATCH] dmi: returning out of spec instead of NULL Impact: avoid null string It's better returning out of spec instead of null --- com32/gpllib/dmi/dmi_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/gpllib/dmi/dmi_cache.c b/com32/gpllib/dmi/dmi_cache.c index 24e564b..4c3f83c 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 */ + "