summaryrefslogtreecommitdiff
path: root/ext/db/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/db/db.c')
-rw-r--r--ext/db/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index c2f666d44c..c1df8348c9 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -319,7 +319,7 @@ dbm_info *php_dbm_open(char *filename, char *mode) {
strcat(lockfn, ".lck");
#if NFS_HACK
- while((last_try = stat(lockfn,&sb))==0) {
+ while((last_try = V_STAT(lockfn,&sb))==0) {
retries++;
php_sleep(1);
if (retries>30) break;