summaryrefslogtreecommitdiff
path: root/dbind
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2012-02-23 14:49:16 -0600
committerMike Gorse <mgorse@novell.com>2012-02-23 14:49:16 -0600
commit5f78f9231ad9d5d6b89a1de349e401d096d9292a (patch)
tree765baf4c279f5d05b920b554a9ddd9afe407ae93 /dbind
parentcdabc42a524d36456bf517cd0c3395aeb0ec2b84 (diff)
downloadat-spi2-core-5f78f9231ad9d5d6b89a1de349e401d096d9292a.tar.gz
Fix message displayed when a call returns the wrong type
The message displayed by dbind for a type mismatch had its parameters inverted.
Diffstat (limited to 'dbind')
-rw-r--r--dbind/dbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbind/dbind.c b/dbind/dbind.c
index c2b6f5d3..eabf7cd8 100644
--- a/dbind/dbind.c
+++ b/dbind/dbind.c
@@ -156,7 +156,7 @@ dbind_method_call_reentrant_va (DBusConnection *cnx,
if (strcmp (p + 2, dbus_message_get_signature (reply)) != 0)
{
g_warning ("dbind: Call to \"%s\" returned signature %s; expected %s",
- method, p + 2, dbus_message_get_signature (reply));
+ method, dbus_message_get_signature (reply), p + 2);
if (opt_error)
dbus_set_error (opt_error, DBUS_ERROR_INVALID_ARGS,
"Call to \"%s\" returned signature %s; expected %s",