Fix stop_threads call
authorAndrew Bays <abays@redhat.com>
Mon, 19 Nov 2018 18:16:41 +0000 (13:16 -0500)
committerAndrew Bays <abays@redhat.com>
Mon, 19 Nov 2018 18:16:41 +0000 (13:16 -0500)
src/sysevent.c

index 83924c8..ecbd2eb 100644 (file)
@@ -1085,7 +1085,7 @@ static int sysevent_read(void) /* {{{ */
           "Restarting it.",
           sysevent_socket_thread_error);
 
-    stop_threads(0);
+    stop_threads();
 
     start_threads();
 
@@ -1101,7 +1101,7 @@ static int sysevent_shutdown(void) /* {{{ */
 {
   DEBUG("sysevent plugin: Shutting down thread.");
 
-  int status = stop_threads(1);
+  int status = stop_threads();
   int status2 = 0;
 
   if (sock != -1) {