aboutsummaryrefslogtreecommitdiffstats
path: root/g13/mount.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-09-28 13:41:58 +0000
committerWerner Koch <[email protected]>2011-09-28 13:41:58 +0000
commited8e267859a00233fee89a6b1b7fb3d74ceced96 (patch)
treee74d7b7af18297021f1e7548899d07badb464a0a /g13/mount.c
parentAllow arbitrary timeouts with dotlock. (diff)
downloadgnupg-ed8e267859a00233fee89a6b1b7fb3d74ceced96.tar.gz
gnupg-ed8e267859a00233fee89a6b1b7fb3d74ceced96.zip
Add a flag parameter to dotlock_create.
This allows us to extend this function in the future.
Diffstat (limited to 'g13/mount.c')
-rw-r--r--g13/mount.c2
1 files changed, 1 insertions, 1 deletions
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);