diff options
-rw-r--r-- | utils/idmapd/idmapd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index c02849b..4246466 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -716,7 +716,7 @@ nfsdreopen_one(struct idmap_client *ic) xlog_warn("ReOpening %s", ic->ic_path); if ((fd = open(ic->ic_path, O_RDWR, 0)) != -1) { - if ((ic->ic_event.ev_flags & EVLIST_INIT)) + if ((event_initialized(&ic->ic_event))) event_del(&ic->ic_event); if (ic->ic_fd != -1) close(ic->ic_fd); |