aboutsummaryrefslogtreecommitdiffstats
path: root/g13/mount.c
diff options
context:
space:
mode:
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 dc415b12d..bee47fbd5 100644
--- a/g13/mount.c
+++ b/g13/mount.c
@@ -76,7 +76,7 @@ g13_mount_container (ctrl_t ctrl, const char *filename, const char *mountpoint)
else
{
/* A quick check to see whether we can the container exists. */
- if (access (filename, R_OK))
+ if (gnupg_access (filename, R_OK))
return gpg_error_from_syserror ();
}