diff options
Diffstat (limited to '')
-rw-r--r-- | database.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database.h b/database.h index 878a5f6..117d7eb 100644 --- a/database.h +++ b/database.h @@ -159,7 +159,7 @@ static inline void dbClose(void) { static inline sqlite3_stmt *dbPrepare(const char *sql) { sqlite3_stmt *stmt; int error = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); - if (error) err(EX_SOFTWARE, "%s: %s", sqlite3_errmsg(db), sql); + if (error) errx(EX_SOFTWARE, "%s: %s", sqlite3_errmsg(db), sql); return stmt; } |