aboutsummaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stat.c b/src/stat.c
index 3b8fb96..ed4ab8e 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -422,7 +422,7 @@ import (const char *dirname)
die (EX_OSERR, "cannot stat file `%s': %s", dirname, strerror (errno));
else if (S_ISREG (st.st_mode))
{
- open_db ();
+ open_db (TAGR_DB_WR);
if (import_log (dirname) == 0)
count++;
close_db ();
@@ -441,7 +441,7 @@ import (const char *dirname)
switch (rc)
{
case 0:
- open_db ();
+ open_db (TAGR_DB_WR);
for (i = 0; i < gl.gl_pathc; i++)
if (import_log (gl.gl_pathv[i]) == 0)
count++;

Return to:

Send suggestions and report system problems to the System administrator.