Fix wrong dlog message
[platform/core/appfw/pkgmgr-info.git] / parser / src / pkgmgr_parser_db.c
index a525066..c995a81 100644 (file)
@@ -497,7 +497,7 @@ static int __open_db(uid_t uid, const char *path, sqlite3 **db, int flags)
        if (flags & SQLITE_OPEN_CREATE) {
                ret = __initialize_db(*db, path, uid);
                if (ret) {
-                       _LOGE("failed to initialize db: %s\n");
+                       _LOGE("failed to initialize db: %s", path);
                        sqlite3_close_v2(*db);
                        return -1;
                }