]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
watcher: Only log number of managed FDs
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Apr 2023 13:50:42 +0000 (15:50 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 27 Apr 2023 11:45:32 +0000 (13:45 +0200)
Adding the internal notify FD might be confusing.

src/libstrongswan/processing/watcher.c

index aca36c60fa8ac00541a2a1f32fe8498278b499a3..d0df2ddb351303ca198a49b909469a7e509591d8 100644 (file)
@@ -395,7 +395,7 @@ static job_requeue_t watch(private_watcher_t *this)
                ssize_t len;
                job_t *job;
 
-               DBG2(DBG_JOB, "watcher going to poll() %d fds", count);
+               DBG2(DBG_JOB, "watcher is observing %d fds", count-1);
                thread_cleanup_push((void*)activate_all, this);
                old = thread_cancelability(TRUE);