[icinga-checkins] icinga.org: icinga-core/mfriedrich/workers: core: minor typo on error log in event queue add

git at icinga.org git at icinga.org
Tue Aug 7 15:17:55 CEST 2012


Module: icinga-core
Branch: mfriedrich/workers
Commit: c3ca4f5eaed3edd868c0f59c7a3f2d80a509a0e4
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=c3ca4f5eaed3edd868c0f59c7a3f2d80a509a0e4

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Aug  7 15:17:24 2012 +0200

core: minor typo on error log in event queue add

---

 base/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/base/events.c b/base/events.c
index 61b716c..805779e 100644
--- a/base/events.c
+++ b/base/events.c
@@ -956,7 +956,7 @@ void add_event(squeue_t *sq, timed_event *event) {
 	}
 
 	if (!event->sq_event) {
-		logit(NSLOG_RUNTIME_ERROR, TRUE, "Failed to add event to squeue '%p' with prio %us: %s\n",
+		logit(NSLOG_RUNTIME_ERROR, TRUE, "Failed to add event to squeue '%p' with prio %u: %s\n",
 		      sq, event->priority, strerror(errno));
 	}
 





More information about the icinga-checkins mailing list