diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2017-11-08 14:20:22 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2017-11-21 14:17:49 +0200 |
commit | 33e31b5b70be30a9b59de155aec59807d5f93bc7 (patch) | |
tree | 9df95b6879aac59101d7edd2a40003f34cacc7e3 | |
parent | 27067dbc7525deab200cbb0939b8a3205b3b51ce (diff) |
card-restore: log the correct profile name
-rw-r--r-- | src/modules/module-card-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-card-restore.c b/src/modules/module-card-restore.c index 3c0307bee..2d3a91c01 100644 --- a/src/modules/module-card-restore.c +++ b/src/modules/module-card-restore.c @@ -561,7 +561,7 @@ static pa_hook_result_t card_choose_initial_profile_callback(pa_core *core, pa_c profile = pa_hashmap_get(card->profiles, e->profile); if (profile) { - pa_log_info("Restoring profile '%s' for card %s.", card->active_profile->name, card->name); + pa_log_info("Restoring profile '%s' for card %s.", profile->name, card->name); pa_card_set_profile(card, profile, true); } else { pa_log_debug("Tried to restore profile %s for card %s, but the card doesn't have such profile.", |