aboutsummaryrefslogtreecommitdiffstats
path: root/g13/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'g13/backend.c')
-rw-r--r--g13/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g13/backend.c b/g13/backend.c
index 71cd6ffc1..a0a26752c 100644
--- a/g13/backend.c
+++ b/g13/backend.c
@@ -139,7 +139,7 @@ be_take_lock_for_create (ctrl_t ctrl, const char *fname, dotlock_t *r_lock)
}
/* Check again that the file does not exist. */
- err = stat (fname, &sb)? 0 : gpg_error (GPG_ERR_EEXIST);
+ err = gnupg_stat (fname, &sb)? 0 : gpg_error (GPG_ERR_EEXIST);
leave:
if (!err)