From: Tobias Brunner Date: Tue, 18 Apr 2023 13:50:42 +0000 (+0200) Subject: watcher: Only log number of managed FDs X-Git-Tag: 5.9.11rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a806d9717528c7f723287b816f73c8066faedfd;p=thirdparty%2Fstrongswan.git watcher: Only log number of managed FDs Adding the internal notify FD might be confusing. --- diff --git a/src/libstrongswan/processing/watcher.c b/src/libstrongswan/processing/watcher.c index aca36c60fa..d0df2ddb35 100644 --- a/src/libstrongswan/processing/watcher.c +++ b/src/libstrongswan/processing/watcher.c @@ -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);