diff --git a/main.cc b/main.cc index 58c6fd5..5a4f649 100644 --- a/main.cc +++ b/main.cc @@ -35,7 +35,7 @@ main() rc = sqlite3_open("test.db", &globals::db); if( rc ) { - fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(globals::db)); + LOG_FATAL << "Can't open database: " << sqlite3_errmsg(globals::db); return 1; }