summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-26 13:57:00 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-26 13:57:00 +0200
commitb9ade4eeb6766ee263ce40fe456c03141bbb1f77 (patch)
tree676afbfa5056f4fc655aadbfb468a877c52d27d8 /audio
parentc90eb5ba7e77fa0c430354ed8fdcd67ebdc17b9c (diff)
Fix DBusError usage with dbus_message_get_args
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 4d134ae6..06b2814c 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -1030,11 +1030,11 @@ static void get_operator_name_reply(DBusPendingCall *pending_call,
}
dbus_error_init(&err);
- if (!dbus_message_get_args(reply, NULL,
+ if (!dbus_message_get_args(reply, &err,
DBUS_TYPE_STRING, &name,
DBUS_TYPE_INT32, &net_err,
DBUS_TYPE_INVALID)) {
- error("Unexpected paramters in get_operator_name reply:",
+ error("Unexpected get_operator_name reply parameters: %s, %s",
err.name, err.message);
dbus_error_free(&err);
goto done;