Fix Wformat build error 42/183042/1
authoryhji <yhji.lee@samsung.com>
Mon, 2 Jul 2018 02:51:46 +0000 (11:51 +0900)
committeryhji <yhji.lee@samsung.com>
Mon, 2 Jul 2018 02:55:36 +0000 (11:55 +0900)
Change-Id: I2cd6f4e59952c500b307f80324b8ea6d43dad48b

client/tts_dbus.c
server/ttsd_player.c

index 71015b6..d1c1953 100644 (file)
@@ -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);
        }
 
index 20a9eb4..c259ad8 100644 (file)
@@ -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))) {