tried to print %d not %s 77/51377/3
authorJeesun Kim <iamjs.kim@samsung.com>
Tue, 22 Sep 2015 14:29:08 +0000 (23:29 +0900)
committerjeesun kim <iamjs.kim@samsung.com>
Tue, 10 Nov 2015 04:39:05 +0000 (20:39 -0800)
Change-Id: I5c30f14b975221c395f2644271d4f8237a1e82a0

server/db/cal_db_util.c

index 93b0518..d3ea9e8 100644 (file)
@@ -299,7 +299,7 @@ int cal_db_util_query_get_first_int_result(const char *query, GSList *bind_text,
        do {
                ret = sqlite3_prepare_v2(cal_db, query, strlen(query), &stmt, NULL);
                if (SQLITE_BUSY == ret || SQLITE_LOCKED == ret) {
-                       ERR("sqlite3_prepare_v2(%s) Fail(%s).", query, sqlite3_errmsg(cal_db));
+                       ERR("sqlite3_prepare_v2() Fail:[%s]", sqlite3_errmsg(cal_db));
                        SECURE("[%s]", query);
                        gettimeofday(&now, NULL);
                        timersub(&now, &from, &diff);