summaryrefslogtreecommitdiff
path: root/lib/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/db.c')
-rw-r--r--lib/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.c b/lib/db.c
index 32ba83b656..b4286b8d2c 100644
--- a/lib/db.c
+++ b/lib/db.c
@@ -60,7 +60,7 @@ int db_init(const char *path_fmt, ...)
(SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE), NULL)
!= SQLITE_OK) {
if (dbp == NULL) {
- zlog_warn("%s: failed to open dabatase '%s'", __func__,
+ zlog_warn("%s: failed to open database '%s'", __func__,
path);
return -1;
}