[gnome-bluetooth] wizard: Fix PIN debug output arguments



commit b5dcae720ad02605e631b6fe980ca2ec7744f237
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 25 18:06:35 2013 +0100

    wizard: Fix PIN debug output arguments
    
    Type and address were swapped.

 wizard/pin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wizard/pin.c b/wizard/pin.c
index b63c456..5751773 100644
--- a/wizard/pin.c
+++ b/wizard/pin.c
@@ -158,7 +158,7 @@ get_pincode_for_device (guint type, const char *address, const char *name, guint
 
        g_debug ("Got pin '%s' (max digits: %d) for device '%s' (type: %s address: %s)",
                 data.ret_pin, data.max_digits,
-                name ? name : "", address, bluetooth_type_to_string (type));
+                name ? name : "", bluetooth_type_to_string (type), address);
 
        return data.ret_pin;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]