diff --git a/src/bwrap-lock.c b/src/bwrap-lock.c
index 664b61f22939fd94b1d9681a6f27639ab41d7950..991f1e73f5ca42351bfc521f390f185fe8c1e6f7 100644
--- a/src/bwrap-lock.c
+++ b/src/bwrap-lock.c
@@ -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