Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
mcelog
mcelog_invert_prefill_db_warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcelog_invert_prefill_db_warning.patch of Package mcelog
--- memdb.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: mcelog-1.0.2011.06.08/memdb.c =================================================================== --- mcelog-1.0.2011.06.08.orig/memdb.c +++ mcelog-1.0.2011.06.08/memdb.c @@ -417,11 +417,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; } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor