diff options
Diffstat (limited to 'res/ais/lck.c')
-rw-r--r-- | res/ais/lck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ais/lck.c b/res/ais/lck.c index 7e7533dc6..04252ff8b 100644 --- a/res/ais/lck.c +++ b/res/ais/lck.c @@ -115,7 +115,7 @@ static int lock_cmp_cb(void *obj, void *arg, int flags) { struct lock_resource *lock1 = obj, *lock2 = arg; - return !strcasecmp(lock1->name, lock2->name) ? CMP_MATCH : 0; + return !strcasecmp(lock1->name, lock2->name) ? CMP_MATCH | CMP_STOP : 0; } static int lock_resources_init(void *data) |