[wing] Fix compilation error



commit 137e2919caf16fbfbf70bcc1b92dccd129321c55
Author: Silvio Lazzeretti <silviola amazon com>
Date:   Tue Oct 31 11:59:34 2017 +0100

    Fix compilation error

 wing/wingservicemanager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wing/wingservicemanager.c b/wing/wingservicemanager.c
index e2afc16..04c95a2 100644
--- a/wing/wingservicemanager.c
+++ b/wing/wingservicemanager.c
@@ -395,8 +395,8 @@ wing_service_manager_stop_service (WingServiceManager  *manager,
               g_set_error (error, G_IO_ERROR,
                            WING_SERVICE_ERROR_SERVICE_STOP_TIMEOUT,
                            "Stopping the service took more than %d %s",
-                           timeout,
-                           timeout == 1 ? "second" : "seconds");
+                           timeout_in_sec,
+                           timeout_in_sec == 1 ? "second" : "seconds");
             }
 
           result = stopped;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]