aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-search.c')
-rw-r--r--notmuch-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-search.c b/notmuch-search.c
index cde97351..aa6662bd 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -130,7 +130,7 @@ notmuch_search_command (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;