diff options
Diffstat (limited to 'db/db.cpp')
-rw-r--r-- | db/db.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/db.cpp b/db/db.cpp index aba19dd06e1..d4aa4ce04be 100644 --- a/db/db.cpp +++ b/db/db.cpp @@ -930,8 +930,8 @@ int main(int argc, char* argv[], char *envp[] ) //#endif #undef exit -void dbexit(int rc) { - cout << " dbexit: flushing op log and files" << endl; +void dbexit(int rc, const char *why) { + cout << " dbexit: " << why << "; flushing op log and files" << endl; flushOpLog(); /* must do this before unmapping mem or you may get a seg fault */ |