diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index ee744872e22..808acace16b 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -1215,7 +1215,7 @@ pub_glfs_fini (struct glfs *fs) syncenv_destroy (ctx->env); /* Join the poller thread */ - if (event_dispatch_destroy (ctx->event_pool) != 0) + if (event_dispatch_destroy (ctx->event_pool) < 0) ret = -1; } |