Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon Additional info in DPRINTF to help debugging ...
details: https://anonhg.NetBSD.org/src/rev/24059a5eb900
branches: trunk
changeset: 753347:24059a5eb900
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Mar 23 16:52:02 2010 +0000
description:
Additional info in DPRINTF to help debugging efforts
diffstat:
sys/dev/sysmon/sysmon_envsys_events.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3a6973316b66 -r 24059a5eb900 sys/dev/sysmon/sysmon_envsys_events.c
--- a/sys/dev/sysmon/sysmon_envsys_events.c Tue Mar 23 16:04:45 2010 +0000
+++ b/sys/dev/sysmon/sysmon_envsys_events.c Tue Mar 23 16:52:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys_events.c,v 1.87 2010/03/19 02:19:13 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsys_events.c,v 1.88 2010/03/23 16:52:02 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.87 2010/03/19 02:19:13 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.88 2010/03/23 16:52:02 pgoyette Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -113,8 +113,9 @@
* even if its ENVSYS_FPERCENT flag and value_max are set.
*/
- DPRINTF(("%s: units %d props 0x%04x edata-flags 0x%04x\n",
- __func__, edata->units, props, edata->flags));
+ DPRINTF(("%s: units %d props 0x%04x upropset 0x%04x max_val %"PRId64
+ " edata-flags 0x%04x\n", __func__, edata->units, props,
+ edata->upropset, edata->value_max, edata->flags));
if (props && edata->units == ENVSYS_INDICATOR)
return ENOTSUP;
Home |
Main Index |
Thread Index |
Old Index