summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-21 16:47:54 -0400
committerJune McEnroe <june@causal.agency>2020-05-21 16:47:54 -0400
commitbf117319b9dbe93dc4b8dbe6e4540b1380b042c1 (patch)
tree56d6131c871265dca56a61de19c3bff58cf6789e
parentAdd only the necessary expressions to scoop's query (diff)
downloadlitterbox-bf117319b9dbe93dc4b8dbe6e4540b1380b042c1.tar.gz
litterbox-bf117319b9dbe93dc4b8dbe6e4540b1380b042c1.zip
Fix dbPrepare errx call
Diffstat (limited to '')
-rw-r--r--database.h2
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;
 }
 
a8e031ec8c52f5903e9466738103ed1a9887&follow=1'>Add copy paste to psfedJune McEnroe 2018-09-25Add r to psfed for invertJune McEnroe 2018-09-24Add psfed, a PSF2 font editorJune McEnroe 2018-09-21Add scheme -i to swap white and blackJune McEnroe 2018-09-21Map caps lock to escape on Linux consoleJune McEnroe 2018-09-19Fix README mandoc lintsJune McEnroe 2018-09-19Un-NOT trans.alpha values in pngoJune McEnroe 2018-09-18Refactor reads in pngo and clear palette between filesJune McEnroe 2018-09-17Add tRNS support to pngoJune McEnroe 2018-09-11Move gfx man pages to gfx/manJune McEnroe 2018-09-11Move bin man pages to bin/manJune McEnroe 2018-09-11Rewrite gfx.7 and render plaintext READMEJune McEnroe 2018-09-11Remove GAMES from BINSJune McEnroe 2018-09-11Rewrite bin.7 and render to plaintext READMEJune McEnroe 2018-09-11Add "blank" lines to man pagesJune McEnroe 2018-09-10Add mdoc syntax fileJune McEnroe 2018-09-08Fix Nm usage in multi-name man pagesJune McEnroe 2018-09-08Put real dates on man pagesJune McEnroe 2018-09-08Replace gfx README with REAMDE.7June McEnroe 2018-09-08Link gfx man pages in ~/.localJune McEnroe