Updating debug logs for dlog changes 78/195378/1 accepted/tizen/unified/20181217.142126 submit/tizen/20181214.061228
authorchakradhar <v.pogiri@samsung.com>
Thu, 13 Dec 2018 04:53:13 +0000 (10:23 +0530)
committerchakradhar <v.pogiri@samsung.com>
Thu, 13 Dec 2018 04:53:13 +0000 (10:23 +0530)
Change-Id: Ib2c5889c7dd6f729da66578356a3155efb0713a3

daemon/phnd-sqlite.c

index 13c6249142f43065abba54cb3362c409017c1733..4cb671a07320b9c5e83bc5bda3a9cb951ad2a527 100644 (file)
@@ -40,7 +40,7 @@ int phnd_sqlite_open_db(void)
        if (NULL == db) {
                ret = db_util_open(PHND_DB_FILE, &db, 0);
                if (SQLITE_OK != ret || NULL == db) {
-                       ERR("db_util_open() Fail(%d), db(0x%x)", ret, db);
+                       ERR("db_util_open() Fail(%d), db(%s)", ret, sqlite3_errmsg(db));
                        return PHONE_NUMBER_ERROR_DB_FAILED;
                }
        }