summaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c
index c0c9400..7ee8f87 100644
--- a/src/state.c
+++ b/src/state.c
@@ -990,9 +990,9 @@ add_state_to_manifest(LilvWorld* lworld,
}
SerdWriter* writer = ttl_file_writer(wfd, &manifest, &env);
- lilv_flock(wfd, true, true);
+ zix_file_lock(wfd, ZIX_FILE_LOCK_BLOCK);
sord_write(model, writer, NULL);
- lilv_flock(wfd, false, true);
+ zix_file_unlock(wfd, ZIX_FILE_LOCK_BLOCK);
serd_writer_free(writer);
fclose(wfd);