Fixed invalid format string.
authorFlorian Pose <fp@igh-essen.com>
Wed, 05 Apr 2006 09:53:55 +0000
changeset 159 acb250c92896
parent 158 363412c9304e
child 160 7ddf8367196a
Fixed invalid format string.
master/canopen.c
--- a/master/canopen.c	Wed Apr 05 09:52:35 2006 +0000
+++ b/master/canopen.c	Wed Apr 05 09:53:55 2006 +0000
@@ -74,8 +74,7 @@
         EC_READ_U8 (data + 2) >> 5 != 0x2 || // Upload response
         EC_READ_U16(data + 3) != sdo_index || // Index
         EC_READ_U8 (data + 5) != sdo_subindex) { // Subindex
-        EC_ERR("SDO upload 0x%04X:%X failed:\n",
-               sdo_index, sdo_subindex, slave->ring_position);
+        EC_ERR("SDO upload 0x%04X:%X failed:\n", sdo_index, sdo_subindex);
         EC_ERR("Invalid SDO upload response at slave %i!\n",
                slave->ring_position);
         ec_print_data(data, rec_size);