From bf962a2600207bb9a338aa38c72ddbd2d3cd13b8 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Mon, 19 Nov 2012 12:59:31 +0200 Subject: [PATCH] card-restore: Log the restored profile name. --- src/modules/module-card-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-card-restore.c b/src/modules/module-card-restore.c index 7d101c5ec..643e07416 100644 --- a/src/modules/module-card-restore.c +++ b/src/modules/module-card-restore.c @@ -377,8 +377,8 @@ static pa_hook_result_t card_new_hook_callback(pa_core *c, pa_card_new_data *new if (e->profile[0]) { if (!new_data->active_profile) { - pa_log_info("Restoring profile for card %s.", new_data->name); pa_card_new_data_set_profile(new_data, e->profile); + pa_log_info("Restored profile '%s' for card %s.", new_data->active_profile, new_data->name); new_data->save_profile = TRUE; } else