mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: timer.c,v 1.84 2008/08/22 05:57:53 marka Exp $ */
|
||||
/* $Id: timer.c,v 1.85 2009/01/22 05:39:29 marka 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,
|
||||
@@ -677,7 +677,7 @@ 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__,
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__, "%s",
|
||||
isc_msgcat_get(isc_msgcat,
|
||||
ISC_MSGSET_TIMER,
|
||||
ISC_MSG_SCHEDFAIL,
|
||||
|
Reference in New Issue
Block a user