summaryrefslogtreecommitdiff
path: root/lib/isc/timer.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-02-07 22:14:10 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-02-07 22:14:10 +0000
commite6787144c0a7f2ccb1b75e05abbd390f0fd225cd (patch)
tree50d7895dd5f9a44b6f2457ee55c873eba97cd43a /lib/isc/timer.c
parentfd8f060cacf6f8a8f24ef704e9c2b81f1063ac14 (diff)
Notes
Diffstat (limited to 'lib/isc/timer.c')
-rw-r--r--lib/isc/timer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/isc/timer.c b/lib/isc/timer.c
index c27281de1264..03ec40a9ceef 100644
--- a/lib/isc/timer.c
+++ b/lib/isc/timer.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: timer.c,v 1.73.18.10 2008/08/22 05:59:04 marka Exp $ */
+/* $Id: timer.c,v 1.73.18.14 2009/01/23 23:46:08 tbox Exp $ */
/*! \file */
@@ -662,7 +662,7 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
isc_task_send(timer->task,
ISC_EVENT_PTR(&event));
} else
- UNEXPECTED_ERROR(__FILE__, __LINE__,
+ UNEXPECTED_ERROR(__FILE__, __LINE__, "%s",
isc_msgcat_get(isc_msgcat,
ISC_MSGSET_TIMER,
ISC_MSG_EVENTNOTALLOC,
@@ -678,11 +678,12 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
result = schedule(timer, now, ISC_FALSE);
if (result != ISC_R_SUCCESS)
UNEXPECTED_ERROR(__FILE__, __LINE__,
+ "%s: %u",
isc_msgcat_get(isc_msgcat,
ISC_MSGSET_TIMER,
ISC_MSG_SCHEDFAIL,
- "couldn't "
- "schedule timer: %u"),
+ "couldn't schedule "
+ "timer"),
result);
}
} else {