diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mcd-account-manager-default.c | 3 | ||||
-rw-r--r-- | src/mcd-account.c | 2 | ||||
-rw-r--r-- | src/mcd-debug.h | 2 | ||||
-rw-r--r-- | src/mcd-dispatcher.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/src/mcd-account-manager-default.c b/src/mcd-account-manager-default.c index ef39ba16..a9776920 100644 --- a/src/mcd-account-manager-default.c +++ b/src/mcd-account-manager-default.c @@ -777,7 +777,8 @@ _list (const McpAccountStorage *self, if (_commit (self, am, NULL)) { - DEBUG ("Migrated %s to new location: deleting old copy"); + DEBUG ("Migrated %s to new location: deleting old copy", + old_filename); if (g_unlink (old_filename) != 0) g_warning ("Unable to delete %s: %s", old_filename, g_strerror (errno)); diff --git a/src/mcd-account.c b/src/mcd-account.c index 256575b1..6c7b4144 100644 --- a/src/mcd-account.c +++ b/src/mcd-account.c @@ -2422,7 +2422,7 @@ apply_parameter_updates (McdAccount *account, g_hash_table_iter_init (&iter, dbus_properties); while (g_hash_table_iter_next (&iter, &name, &value)) { - DEBUG ("updating parameter %s", name); + DEBUG ("updating parameter %s", (const gchar *) name); _mcd_connection_update_property (priv->connection, name, value); } } diff --git a/src/mcd-debug.h b/src/mcd-debug.h index 66fdafcc..53da2d01 100644 --- a/src/mcd-debug.h +++ b/src/mcd-debug.h @@ -59,7 +59,7 @@ static inline gint _mcd_debug_get_level (void) void mcd_debug_print_tree (gpointer obj); -void mcd_debug (const gchar *format, ...); +void mcd_debug (const gchar *format, ...) G_GNUC_PRINTF (1, 2); G_END_DECLS diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c index 48ebc833..45f06023 100644 --- a/src/mcd-dispatcher.c +++ b/src/mcd-dispatcher.c @@ -2034,7 +2034,7 @@ try_delegating (ChannelToDelegate *to_delegate) g_strdup (mcd_channel_get_object_path (to_delegate->channel)), v); - DEBUG ("...but failed to delegate it: %s", + DEBUG ("...but failed to delegate %s: %s", mcd_channel_get_object_path (to_delegate->channel), to_delegate->error->message); |