aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libibex/lookup.c')
-rw-r--r--libibex/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libibex/lookup.c b/libibex/lookup.c
index aa09fc6557..2d01dbf850 100644
--- a/libibex/lookup.c
+++ b/libibex/lookup.c
@@ -61,7 +61,7 @@ main (int argc, char **argv)
if (argc == 0)
usage ();
- ib = ibex_open (file, FALSE);
+ ib = ibex_open (file, O_RDWR|O_CREAT, 0600);
if (!ib) {
printf ("Couldn't open %s: %s\n", file, strerror (errno));
exit (1);