]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
move formating out of msgcat
authorMark Andrews <marka@isc.org>
Fri, 23 Jan 2009 01:30:03 +0000 (01:30 +0000)
committerMark Andrews <marka@isc.org>
Fri, 23 Jan 2009 01:30:03 +0000 (01:30 +0000)
lib/isc/timer.c

index beceb8e45a8d3eb6adf24db68a336527e2cc20b5..656258dae620b069353ded995f927ac4db1cc961 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.73.18.12 2009/01/22 23:46:01 tbox Exp $ */
+/* $Id: timer.c,v 1.73.18.13 2009/01/23 01:30:03 marka Exp $ */
 
 /*! \file */
 
@@ -677,12 +677,13 @@ dispatch(isc_timermgr_t *manager, isc_time_t *now) {
                        if (need_schedule) {
                                result = schedule(timer, now, ISC_FALSE);
                                if (result != ISC_R_SUCCESS)
-                                       UNEXPECTED_ERROR(__FILE__, __LINE__, "%s",
+                                       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 {