2011-08-18 17:12:58 +02:00
|
|
|
---
|
|
|
|
memdb.c | 10 +++++-----
|
|
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
|
2019-09-09 11:10:17 +02:00
|
|
|
--- mcelog-1.64+git20190805.e53631f.orig/memdb.c 2019-09-06 14:06:51.757228185 +0200
|
|
|
|
+++ mcelog-1.64+git20190805.e53631f/memdb.c 2019-09-06 14:09:38.197237074 +0200
|
|
|
|
@@ -430,11 +430,11 @@
|
2011-08-18 17:12:58 +02:00
|
|
|
md->location = xstrdup(bl);
|
|
|
|
md->name = xstrdup(dmi_getstring(&d->header, d->device_locator));
|
|
|
|
}
|
|
|
|
- if (missed) {
|
|
|
|
- static int warned;
|
|
|
|
- if (!warned) {
|
|
|
|
- Eprintf("failed to prefill DIMM database from DMI data");
|
|
|
|
- warned = 1;
|
|
|
|
+ if (!missed) {
|
|
|
|
+ static int db_rill_msg;
|
|
|
|
+ if (!db_rill_msg) {
|
|
|
|
+ Gprintf("Prefilled DIMM database from DMI data");
|
|
|
|
+ db_rill_msg = 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|