aboutsummaryrefslogtreecommitdiffstats
path: root/g13/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'g13/create.c')
-rw-r--r--g13/create.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g13/create.c b/g13/create.c
index 2b998e2b2..60c1d3d31 100644
--- a/g13/create.c
+++ b/g13/create.c
@@ -246,10 +246,10 @@ 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 = create_dotlock (filename);
+ lock = dotlock_create (filename);
if (!lock)
return gpg_error_from_syserror ();
- if (make_dotlock (lock, 0))
+ if (dotlock_take (lock, 0))
{
err = gpg_error_from_syserror ();
goto leave;
@@ -319,7 +319,7 @@ g13_create_container (ctrl_t ctrl, const char *filename, strlist_t keys)
xfree (detachedname);
xfree (enckeyblob);
xfree (keyblob);
- destroy_dotlock (lock);
+ dotlock_destroy (lock);
return err;
}