6e9151ca05
mcelog processes machine checks (in particular memory and CPU hardware errors) on modern x86-based unix systems and produces human-readable output. FreeBSD conversion patches were originally written by John Baldwin <jhb@freebsd.org> and later incorporated into this port. WWW: http://mcelog.org/ PR: ports/161395 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
12 lines
361 B
C
12 lines
361 B
C
--- ./memdb.c.orig 2009-12-15 07:18:40.000000000 -0500
|
|
+++ ./memdb.c 2011-10-14 22:36:47.000000000 -0400
|
|
@@ -170,7 +170,9 @@
|
|
asprintf(&env[ei++], "THRESHOLD_COUNT=%d", bucket->count + bucket->excess);
|
|
env[ei] = NULL;
|
|
assert(ei < MAX_ENV);
|
|
+#ifdef __Linux__
|
|
run_trigger(bc->trigger, NULL, env);
|
|
+#endif
|
|
for (i = 0; i < ei; i++)
|
|
free(env[i]);
|
|
out:
|