master/sdo.c
changeset 962 ea83a7aab57a
parent 847 92266462d411
child 963 01702c78fe0a
--- a/master/sdo.c	Fri Jun 06 09:12:05 2008 +0000
+++ b/master/sdo.c	Fri Jun 06 09:15:56 2008 +0000
@@ -89,7 +89,7 @@
     sdo->index = index;
     sdo->object_code = 0x00;
     sdo->name = NULL;
-    sdo->subindices = 0;
+    sdo->max_subindex = 0;
     INIT_LIST_HEAD(&sdo->entries);
 
     // Init kobject and add it to the hierarchy
@@ -189,7 +189,7 @@
 
     off += sprintf(buffer + off, "Index: 0x%04X\n", sdo->index);
     off += sprintf(buffer + off, "Name: %s\n", sdo->name ? sdo->name : "");
-    off += sprintf(buffer + off, "Subindices: %i\n", sdo->subindices);
+    off += sprintf(buffer + off, "Max subindex: %u\n", sdo->max_subindex);
 
     return off;
 }