081d5fb2ee
- Update to latest git tag v101. - Mainline decided to finally do a version upgrade to v101 - Remove v1.1 again, obsolete it and go for version v102 - Some important fixes in the latest update: - bnc#873159 - bnc#873725 OBS-URL: https://build.opensuse.org/request/show/231933 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=33
26 lines
672 B
Diff
26 lines
672 B
Diff
---
|
|
memdb.c | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
Index: mcelog-1.0.1/memdb.c
|
|
===================================================================
|
|
--- mcelog-1.0.1.orig/memdb.c
|
|
+++ mcelog-1.0.1/memdb.c
|
|
@@ -421,11 +421,11 @@ void prefill_memdb(void)
|
|
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;
|
|
}
|
|
}
|
|
}
|