]> git.notmuchmail.org Git - notmuch/blobdiff - database.cc
notmuch_database_open: Fix error message for file-not-found.
[notmuch] / database.cc
index 528ae1154b48d9b4428c214355700e96f5123564..a53651035d9febd791b56c5d2b631b9d4db96da7 100644 (file)
@@ -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;
     }