$OpenBSD$

Index: src/FatController.cpp
--- src/FatController.cpp.orig
+++ src/FatController.cpp
@@ -1694,12 +1694,13 @@ int fc_controlit()   //
             gentlereload = false;
             continue;        //  OK to continue even if gentle failed - just continue to use previous lists
         }
-        timeout.tv_sec = 5;
-        timeout.tv_nsec = (long) 0;
-        rc = sigtimedwait(&signal_set, NULL, &timeout);
+        int sig_caught;
+        sigwait(&signal_set, &sig_caught);
+        rc = sig_caught;
+
         if (rc < 0) {
             if (errno != EAGAIN) {
-                syslog(LOG_INFO, "%sUnexpected error from sigtimedwait() %d %s", thread_id.c_str(), errno, strerror(errno));
+                syslog(LOG_INFO, "%sUnexpected error from sigtwait() %d %s", thread_id.c_str(), errno, strerror(errno));
             }
         } else {
             if (rc == SIGUSR1)
@@ -1712,7 +1713,7 @@ int fc_controlit()   //
             std::cerr << "signal:" << rc << std::endl;
 #endif
             if (o.logconerror) {
-                syslog(LOG_INFO, "%ssigtimedwait() signal %d recd:", thread_id.c_str(), rc);
+                syslog(LOG_INFO, "%ssigwait() signal %d recd:", thread_id.c_str(), rc);
             }
         }
         int q_size = o.http_worker_Q.size();
