[icinga-checkins] icinga.org: icinga-core/next: avail.c: fix typo

git at icinga.org git at icinga.org
Sat Jun 1 21:46:39 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Sat Jun  1 21:46:22 2013 +0200

avail.c: fix typo

---

 cgi/avail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/avail.c b/cgi/avail.c
index 35a7d03..2bf0a96 100644
--- a/cgi/avail.c
+++ b/cgi/avail.c
@@ -5488,7 +5488,7 @@ void display_service_availability(void) {
 			percent_time_ok_scheduled = (double)(((double)temp_subject->scheduled_time_ok * 100.0) / (double)total_time);
 			percent_time_ok_unscheduled = percent_time_ok - percent_time_ok_scheduled;
 			percent_time_warning = (double)(((double)temp_subject->time_warning * 100.0) / (double)total_time);
-			percent_time_warning_scheduled = (double)(((double)temp_subject->scheduled_time_unknown * 100.0) / (double)total_time);
+			percent_time_warning_scheduled = (double)(((double)temp_subject->scheduled_time_warning * 100.0) / (double)total_time);
 			percent_time_warning_unscheduled = percent_time_warning - percent_time_warning_scheduled;
 			percent_time_unknown = (double)(((double)temp_subject->time_unknown * 100.0) / (double)total_time);
 			percent_time_unknown_scheduled = (double)(((double)temp_subject->scheduled_time_unknown * 100.0) / (double)total_time);





More information about the icinga-checkins mailing list