ndef: Fix error message in near_ndef_prepare_handover_record
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Jan 2013 15:10:36 +0000 (16:10 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 31 Jan 2013 00:35:38 +0000 (01:35 +0100)
This function is used to create both Hs and Hr records.

src/ndef.c

index 75fa881..ad0ba9b 100644 (file)
@@ -1978,7 +1978,7 @@ struct near_ndef_message *near_ndef_prepare_handover_record(char *type_name,
        return hs_msg;
 
 fail:
-       near_error("handover select record preparation failed");
+       near_error("handover %s record preparation failed", type_name);
 
        if (ac_msg != NULL) {
                g_free(ac_msg->data);