diff options
Diffstat (limited to 'svc_dev.c')
-rw-r--r-- | svc_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ static int svc_scandev(struct mog_svc *svc, size_t *nr, mog_scandev_cb cb) struct dirent *ent; int rc = 0; - if (svc->mgmt_fd < 0) + if (svc->mgmt_mfd == NULL) return 0; CHECK(int, 0, pthread_mutex_lock(&svc->devstats_lock)); |