From 3fa06621caae175ae01f271d4948349161710585 Mon Sep 17 00:00:00 2001 From: SukhyungKang Date: Thu, 11 Jul 2024 16:22:11 +0900 Subject: [PATCH] Fix wrong log value Change-Id: I26c981fe03f932d5ccc0688a174ef109c71de5cc Signed-off-by: SukhyungKang --- notification/src/notification_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notification/src/notification_db.c b/notification/src/notification_db.c index 485a2073..2c94516f 100644 --- a/notification/src/notification_db.c +++ b/notification/src/notification_db.c @@ -92,14 +92,14 @@ EXPORT_API int notification_db_init(void) sql_ret = sqlite3_open_v2(DBPATH, &db, SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE, NULL); if (sql_ret != SQLITE_OK) { - ERR("Failed to open db[%d]", ret); + ERR("Failed to open db[%d]", sql_ret); ret = NOTIFICATION_ERROR_FROM_DB; goto out; } sql_ret = sqlite3_exec(db, CREATE_NOTIFICATION_TABLE, NULL, NULL, &errmsg); if (sql_ret != SQLITE_OK) { - ERR("Failed to exec sqlite[%d][%s]", ret, errmsg); + ERR("Failed to exec sqlite[%d][%s]", sql_ret, errmsg); ret = NOTIFICATION_ERROR_FROM_DB; goto out; } -- 2.34.1