aboutsummaryrefslogtreecommitdiff
path: root/notmuch-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-dump.c')
-rw-r--r--notmuch-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-dump.c b/notmuch-dump.c
index 86570d0..fc06f3f 100644
--- a/notmuch-dump.c
+++ b/notmuch-dump.c
@@ -36,7 +36,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[])
return 1;
notmuch = notmuch_database_open (notmuch_config_get_database_path (config),
- NOTMUCH_DATABASE_MODE_READONLY);
+ NOTMUCH_DATABASE_MODE_READ_ONLY);
if (notmuch == NULL)
return 1;