diff options
Diffstat (limited to 'ext/dbase/dbf_head.c')
| -rw-r--r-- | ext/dbase/dbf_head.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbase/dbf_head.c b/ext/dbase/dbf_head.c index 1f104e3d81..cc97330347 100644 --- a/ext/dbase/dbf_head.c +++ b/ext/dbase/dbf_head.c @@ -226,10 +226,10 @@ dbhead_t *dbf_open(char *dp, int o_flags) dbhead_t *dbh; cp = dp; - if ((fd = open(cp, o_flags|O_BINARY)) < 0) { + if ((fd = V_OPEN((cp, o_flags|O_BINARY))) < 0) { cp = (char *)malloc(256); strcpy(cp, dp); strcat(cp, ".dbf"); - if ((fd = open(cp, o_flags)) < 0) { + if ((fd = V_OPEN((cp, o_flags))) < 0) { perror("open"); return NULL; } |
