From df144a420433faddad7652095046afab2ac261bf Mon Sep 17 00:00:00 2001 From: yhji Date: Mon, 2 Jul 2018 11:51:46 +0900 Subject: [PATCH] Fix Wformat build error Change-Id: I2cd6f4e59952c500b307f80324b8ea6d43dad48b --- client/tts_dbus.c | 2 +- server/ttsd_player.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tts_dbus.c b/client/tts_dbus.c index 71015b6..d1c1953 100644 --- a/client/tts_dbus.c +++ b/client/tts_dbus.c @@ -355,7 +355,7 @@ int tts_dbus_request_hello(int uid) result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, HELLO_WAITING_TIME, &err); dbus_message_unref(msg); if (dbus_error_is_set(&err)) { - SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err); + SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err.message); dbus_error_free(&err); } diff --git a/server/ttsd_player.c b/server/ttsd_player.c index 20a9eb4..c259ad8 100644 --- a/server/ttsd_player.c +++ b/server/ttsd_player.c @@ -351,7 +351,7 @@ int ttsd_player_check_current_playback_focus(bool *is_current_interrupt) ret = sound_manager_get_current_playback_focus(&reason, &sound_behavior, &extra_info); - SLOG(LOG_DEBUG, tts_tag(), "[Player] current playback focus: extra_info(%s), reason(%d), sound_behavior(%d)", extra_info, reason, sound_behavior, extra_info); + SLOG(LOG_DEBUG, tts_tag(), "[Player] current playback focus: extra_info(%s), reason(%d), sound_behavior(%d)", extra_info, reason, sound_behavior); if (SOUND_MANAGER_ERROR_NONE == ret && NULL != extra_info && 0 < strlen(extra_info)) { if (SOUND_STREAM_FOCUS_CHANGED_BY_VOICE_INFORMATION == reason && 0 == strncmp(extra_info, "TTSD_MODE_INTERRUPT", strlen(extra_info))) { -- 2.7.4