diff options
Diffstat (limited to 'src/libstrongswan')
-rw-r--r-- | src/libstrongswan/processing/watcher.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstrongswan/processing/watcher.c b/src/libstrongswan/processing/watcher.c index 69cb3c8f5..3009be608 100644 --- a/src/libstrongswan/processing/watcher.c +++ b/src/libstrongswan/processing/watcher.c @@ -439,8 +439,7 @@ watcher_t *watcher_create() .mutex = mutex_create(MUTEX_TYPE_DEFAULT), .condvar = condvar_create(CONDVAR_TYPE_DEFAULT), .jobs = linked_list_create(), - .notify[0] = -1, - .notify[1] = -1, + .notify = {-1, -1}, ); if (pipe(this->notify) == 0) |