aboutsummaryrefslogtreecommitdiffstats
path: root/db1-ast/recno/rec_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'db1-ast/recno/rec_open.c')
-rwxr-xr-xdb1-ast/recno/rec_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db1-ast/recno/rec_open.c b/db1-ast/recno/rec_open.c
index 51d8a3c26..cf9511e87 100755
--- a/db1-ast/recno/rec_open.c
+++ b/db1-ast/recno/rec_open.c
@@ -63,7 +63,7 @@ __rec_open(fname, flags, mode, openinfo, dflags)
DB *dbp;
PAGE *h;
struct stat sb;
- int rfd, sverrno;
+ int rfd = 0, sverrno;
/* Open the user's file -- if this fails, we're done. */
if (fname != NULL && (rfd = open(fname, flags, mode)) < 0)