mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Add a flag parameter to dotlock_create.
This allows us to extend this function in the future.
This commit is contained in:
parent
567a31c2a0
commit
ed8e267859
15 changed files with 37 additions and 24 deletions
|
@ -273,7 +273,7 @@ g13_mount_container (ctrl_t ctrl, const char *filename, const char *mountpoint)
|
|||
}
|
||||
|
||||
/* Try to take a lock. */
|
||||
lock = dotlock_create (filename);
|
||||
lock = dotlock_create (filename, 0);
|
||||
if (!lock)
|
||||
{
|
||||
xfree (mountpoint_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue