diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2010-03-23 16:52:02 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2010-03-23 16:52:02 +0000 |
| commit | bc480daf7aa3990184cd4a01b717d60c719f39d2 (patch) | |
| tree | 69c85d7a4b6734276f85b9e1585bdf29309ee4e6 /sys/dev/sysmon | |
| parent | 8cfc95441e0965769df7faf29e0ede9b834fea0f (diff) | |
Additional info in DPRINTF to help debugging efforts
Diffstat (limited to 'sys/dev/sysmon')
| -rw-r--r-- | sys/dev/sysmon/sysmon_envsys_events.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/sysmon/sysmon_envsys_events.c b/sys/dev/sysmon/sysmon_envsys_events.c index 99e029ccc3f..dd5c308c4c2 100644 --- a/sys/dev/sysmon/sysmon_envsys_events.c +++ b/sys/dev/sysmon/sysmon_envsys_events.c @@ -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 @@ sme_event_register(prop_dictionary_t sdict, envsys_data_t *edata, * 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; |
