Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
return ret;
}
-static int messaging_dgm_lockfile_remove(TALLOC_CTX *tmp_ctx,
- const char *cache_dir, pid_t pid)
+static int messaging_dgm_lockfile_remove(const char *cache_dir, pid_t pid)
{
struct sun_path_buf lockfile_name;
int ret;
unix_msg_free(c->dgm_ctx);
if (getpid() == c->pid) {
- (void)messaging_dgm_lockfile_remove(c, c->cache_dir, c->pid);
+ (void)messaging_dgm_lockfile_remove(c->cache_dir, c->pid);
}
close(c->lockfile_fd);