X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=database.cc;h=a53651035d9febd791b56c5d2b631b9d4db96da7;hp=528ae1154b48d9b4428c214355700e96f5123564;hb=968feafbad724da29c7fb5d48f6d363150e48caf;hpb=55c8ee9a862f8f25be84adb591564b3777d88135 diff --git a/database.cc b/database.cc index 528ae115..a5365103 100644 --- a/database.cc +++ b/database.cc @@ -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; }