Skip to content
Snippets Groups Projects
Commit 2377fcbf authored by Simon McVittie's avatar Simon McVittie
Browse files

bwrap-lock: Correct doc-comment


At some point while I was designing this, the @path was a directory,
but it ended up being a file.

Fixes: 8b531350 "wrap: Add API for a bubblewrap-compatible fcntl lock"
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 1d663296
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,11 @@ struct _PvBwrapLock
/**
* pv_bwrap_lock_new:
* @path: Runtime directory to lock; the actual lock file will be `$path/.ref`
* @flags: Flags affecting how we lock the directory
* @path: File to lock
* @flags: Flags affecting how we lock the file
* @error: Used to raise an error on failure
*
* Take out a lock on a directory.
* Take out a lock on a file.
*
* If %PV_BWRAP_LOCK_FLAGS_WRITE is in @flags, the lock is a write-lock,
* which can be held by at most one process at a time. This is appropriate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment