Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon Make this compile when "options ENVSYS_OBJECT...
details: https://anonhg.NetBSD.org/src/rev/06500e71af86
branches: trunk
changeset: 759360:06500e71af86
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Dec 06 23:26:44 2010 +0000
description:
Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined.
diffstat:
sys/dev/sysmon/sysmon_envsys_events.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r c62b0cc9aa08 -r 06500e71af86 sys/dev/sysmon/sysmon_envsys_events.c
--- a/sys/dev/sysmon/sysmon_envsys_events.c Mon Dec 06 21:17:00 2010 +0000
+++ b/sys/dev/sysmon/sysmon_envsys_events.c Mon Dec 06 23:26:44 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys_events.c,v 1.93 2010/09/22 00:13:55 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsys_events.c,v 1.94 2010/12/06 23:26:44 pgoyette Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.93 2010/09/22 00:13:55 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.94 2010/12/06 23:26:44 pgoyette Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -780,8 +780,8 @@
see->see_evsent = edata->state;
DPRINTFOBJ(("%s: (%s) desc=%s sensor=%d state=%d send_ev=%d\n",
- __func__, sme->sme_name, edata->desc, edata->sensor,
- edata->state,
+ __func__, see->see_sme->sme_name, edata->desc,
+ edata->sensor, edata->state,
(edata->state == ENVSYS_SVALID) ? PENVSYS_EVENT_NORMAL :
sse[i].event));
Home |
Main Index |
Thread Index |
Old Index