summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2009-07-08 17:54:27 +0000
committerpgoyette <pgoyette@NetBSD.org>2009-07-08 17:54:27 +0000
commite17701cfef3835a577c482a1221e7078064495e8 (patch)
tree0129224e47a08256a44778a71a2c91ab13204c35 /sys/dev/sysmon
parentc7ba8d542833233c2d17e443e915fa74f6bb4e08 (diff)
Remove driver name from debug message. Not all drivers have set this
early enough, and we can easily figure out the driver name from some subsequent debug messages.
Diffstat (limited to 'sys/dev/sysmon')
-rw-r--r--sys/dev/sysmon/sysmon_envsys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sysmon/sysmon_envsys.c b/sys/dev/sysmon/sysmon_envsys.c
index 679611bd8b7..b11bb0b626f 100644
--- a/sys/dev/sysmon/sysmon_envsys.c
+++ b/sys/dev/sysmon/sysmon_envsys.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys.c,v 1.88 2009/06/13 16:08:25 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsys.c,v 1.89 2009/07/08 17:54:27 pgoyette Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.88 2009/06/13 16:08:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.89 2009/07/08 17:54:27 pgoyette Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -560,8 +560,8 @@ sysmon_envsys_sensor_attach(struct sysmon_envsys *sme, envsys_data_t *edata)
sysmon_envsys_release(sme, true);
mutex_exit(&sme->sme_mtx);
- DPRINTF(("%s: (%s) attached #%d (%s), units=%d (%s)\n",
- __func__, sme->sme_name, edata->sensor, edata->desc,
+ DPRINTF(("%s: attached #%d (%s), units=%d (%s)\n",
+ __func__, edata->sensor, edata->desc,
sdt_units[i].type, sdt_units[i].desc));
return 0;