aboutsummaryrefslogtreecommitdiffstats
path: root/g13
diff options
context:
space:
mode:
Diffstat (limited to 'g13')
-rw-r--r--g13/create.c2
-rw-r--r--g13/g13.c2
-rw-r--r--g13/mount.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/g13/create.c b/g13/create.c
index 60c1d3d31..f907ddbf6 100644
--- a/g13/create.c
+++ b/g13/create.c
@@ -246,7 +246,7 @@ g13_create_container (ctrl_t ctrl, const char *filename, strlist_t keys)
/* Take a lock and proceed with the creation. If there is a lock we
immediately return an error because for creation it does not make
sense to wait. */
- lock = dotlock_create (filename);
+ lock = dotlock_create (filename, 0);
if (!lock)
return gpg_error_from_syserror ();
if (dotlock_take (lock, 0))
diff --git a/g13/g13.c b/g13/g13.c
index 972a7eaaf..8e5532c47 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -383,7 +383,7 @@ main ( int argc, char **argv)
gnupg_init_signals (0, emergency_cleanup);
- dotlock_create (NULL); /* Register locking cleanup. */
+ dotlock_create (NULL, 0); /* Register locking cleanup. */
opt.session_env = session_env_new ();
if (!opt.session_env)
diff --git a/g13/mount.c b/g13/mount.c
index 198fde076..62eeca1f7 100644
--- a/g13/mount.c
+++ b/g13/mount.c
@@ -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);