forked from pool/mcelog
c729908bac
- Includes following SLE 15 SP5 jira features: * jsc#PED-671 mcelog: Update to latest release * jsc#PED-686 [CPU Features] Update mcelog support for ADL-N * jsc#PED-638 [CPU Features] Update mcelog support for MTL-P - Update to version 189: - Had to adopt to latest CPU identification model mainline patch: b54ee05056a76e mcelog: Drop CASE_INTEL define and friends A add_new_amd_cpu_defines D add-defines.patch M Start-consolidating-AMD-specific-stuff.patch M add-f10h-support.patch M add-f11h-support.patch M add-f12h-support.patch M add-f14h-support.patch M add-f15h-support.patch M add-f16h-support.patch M email.patch M fix_setgroups_missing_call.patch OBS-URL: https://build.opensuse.org/request/show/1092613 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=104
24 lines
524 B
Diff
24 lines
524 B
Diff
---
|
|
memdb.c | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
--- a/memdb.c
|
|
+++ b/memdb.c
|
|
@@ -431,11 +431,11 @@
|
|
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;
|
|
}
|
|
}
|
|
}
|