diff options
| author | xtraeme <xtraeme@NetBSD.org> | 2007-09-08 23:21:02 +0000 |
|---|---|---|
| committer | xtraeme <xtraeme@NetBSD.org> | 2007-09-08 23:21:02 +0000 |
| commit | 1e91f1628f21e675c375b6dfd9c547c2caa8ce43 (patch) | |
| tree | 4766ef9c1255a18c8a629c1bad4452b5e69e488b /sys/dev/sysmon | |
| parent | 2473f3e4f51a47a6e0d521ff6bb8c823fbaa50e0 (diff) | |
Use DPRINTF for a debugging printf.
Diffstat (limited to 'sys/dev/sysmon')
| -rw-r--r-- | sys/dev/sysmon/sysmon_envsys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sysmon/sysmon_envsys.c b/sys/dev/sysmon/sysmon_envsys.c index e5d348dfba9..986547aa9fe 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.64 2007/09/08 23:14:13 xtraeme Exp $ */ +/* $NetBSD: sysmon_envsys.c,v 1.65 2007/09/08 23:21:02 xtraeme Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -75,7 +75,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.64 2007/09/08 23:14:13 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.65 2007/09/08 23:21:02 xtraeme Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -574,8 +574,8 @@ sysmon_envsys_destroy_plist(prop_array_t array) goto out; DPRINTF(("%s: iterating over dictionary\n", __func__)); while ((obj = prop_object_iterator_next(iter2)) != NULL) { - printf("%s: obj=%s\n", __func__, - prop_dictionary_keysym_cstring_nocopy(obj)); + DPRINTF(("%s: obj=%s\n", __func__, + prop_dictionary_keysym_cstring_nocopy(obj))); prop_dictionary_remove(dict, prop_dictionary_keysym_cstring_nocopy(obj)); prop_object_iterator_reset(iter2); |
