va_start(ap, fmt);
vsnprintf(buf, BUFFER_SIZE-1, fmt, ap);
va_end(ap);
- __dlog_print(log_id, priority, tag, buf);
+ __dlog_print(log_id, priority, tag, "%s", buf);
} else {
#ifdef TIZEN_DEBUG_ENABLE
va_start(ap, fmt);
vsnprintf(buf, BUFFER_SIZE-1, fmt, ap);
va_end(ap);
- __dlog_print(log_id, priority, tag, buf);
+ __dlog_print(log_id, priority, tag, "%s", buf);
#endif
}
} break;
va_start(ap, fmt);
vsnprintf(buf + next, (BUFFER_SIZE-1) - next, fmt, ap);
va_end(ap);
- __dlog_print(log_id, priority, tag, buf);
+ __dlog_print(log_id, priority, tag, "%s", buf);
#endif
} break;
NOTUSED(log_level);
NOTUSED(user_data);
- __dlog_print (LOG_ID_RADIO, DLOG_ERROR, "GLIB", msg);
+ __dlog_print(LOG_ID_RADIO, DLOG_ERROR, "GLIB", "%s", msg);
}
#ifdef TIZEN_DEBUG_ENABLE
/* Version Info */
tcore_ver = tcore_util_get_version();
- info("daemon version: %s", DAEMON_VERSION);
- info("libtcore version: %s", tcore_ver);
+ info("daemon version: [%s] libtcore version: [%s] glib version: [%u.%u.%u]",
+ DAEMON_VERSION, tcore_ver, glib_major_version, glib_minor_version, glib_micro_version);
free(tcore_ver);
info("glib version: %u.%u.%u", glib_major_version, glib_minor_version, glib_micro_version);
vconf_get_int(VCONFKEY_TELEPHONY_DAEMON_LOAD_COUNT, &daemon_load_count);
daemon_load_count++;
vconf_set_int(VCONFKEY_TELEPHONY_DAEMON_LOAD_COUNT, daemon_load_count);
- dbg("daemon load count = [%d]", daemon_load_count);
+ info("daemon load count = [%d]", daemon_load_count);
#ifdef TIZEN_DEBUG_ENABLE
/* Signal Registration */