aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sm/keydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.c b/sm/keydb.c
index 048d04d31..5b28df7ab 100644
--- a/sm/keydb.c
+++ b/sm/keydb.c
@@ -273,7 +273,7 @@ maybe_create_keybox (char *filename, int force, int *r_created)
}
/* Now the real test while we are locked. */
- if (!access(filename, F_OK))
+ if (!gnupg_access(filename, F_OK))
{
rc = 0; /* Okay, we may access the file now. */
goto leave;