]> git.cworth.org Git - notmuch/commit
notmuch_database_open: Fix error message for file-not-found.
authorCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 17:14:00 +0000 (10:14 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 20 Oct 2009 17:14:00 +0000 (10:14 -0700)
commit968feafbad724da29c7fb5d48f6d363150e48caf
tree734363feda1ddbb2f521719521dc97086f6242c1
parent67a0ee2ebb90229d92a5e9a7c676ff1a95fc1008
notmuch_database_open: Fix error message for file-not-found.

I was incorrectly using the return value of stat (-1) instead of
errno (ENOENT) to try to construct the error message here.

Also, while we're here, reword the error message to not have
"stat" in it, which in spite of what a Unix programmer will
tell you, is not actually a word.
database.cc