X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=database.cc;h=abae58205f897779871113199c703798d7cbfb8a;hp=528ae1154b48d9b4428c214355700e96f5123564;hb=e6236b88fd18231d0524b14723e0709a90b0572c;hpb=55c8ee9a862f8f25be84adb591564b3777d88135 diff --git a/database.cc b/database.cc index 528ae115..abae5820 100644 --- a/database.cc +++ b/database.cc @@ -24,7 +24,7 @@ #include -#include /* g_strdup_printf, g_free, GHashTable */ +#include /* g_strdup_printf, g_free, GPtrArray, GHashTable */ using namespace std; @@ -450,8 +450,8 @@ notmuch_database_open (const char *path) err = stat (notmuch_path, &st); if (err) { - fprintf (stderr, "Error: Cannot stat %s: %s\n", - notmuch_path, strerror (err)); + fprintf (stderr, "Error opening database at %s: %s\n", + notmuch_path, strerror (errno)); goto DONE; }