From e31adb2d4227e6b18d68714dd9bedeca23ea05b5 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 27 Jun 2007 13:04:15 +0000 Subject: [PATCH] Use aprint_debug rather than printf for the annoying message "WARNING: Callback scheduled before sysmon task queue thread present.". --- sys/dev/sysmon/sysmon_taskq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/sysmon/sysmon_taskq.c b/sys/dev/sysmon/sysmon_taskq.c index 98fb3d4e5a57..49d1c9890370 100644 --- a/sys/dev/sysmon/sysmon_taskq.c +++ b/sys/dev/sysmon/sysmon_taskq.c @@ -1,4 +1,4 @@ -/* $NetBSD: sysmon_taskq.c,v 1.7 2006/11/16 01:33:26 christos Exp $ */ +/* $NetBSD: sysmon_taskq.c,v 1.8 2007/06/27 13:04:15 xtraeme Exp $ */ /* * Copyright (c) 2001, 2003 Wasabi Systems, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sysmon_taskq.c,v 1.7 2006/11/16 01:33:26 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sysmon_taskq.c,v 1.8 2007/06/27 13:04:15 xtraeme Exp $"); #include #include @@ -205,8 +205,8 @@ sysmon_task_queue_sched(u_int pri, void (*func)(void *), void *arg) int s; if (sysmon_task_queue_proc == NULL) - printf("WARNING: Callback scheduled before sysmon task queue " - "thread present.\n"); + aprint_debug("WARNING: Callback scheduled before sysmon " + "task queue thread present\n"); if (func == NULL) return (EINVAL);