Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2725 | Rev 2745 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | 116 | ||
117 | /** Print configuration data that ARC reports about component */ |
117 | /** Print configuration data that ARC reports about component */ |
118 | static void arc_print_confdata(arc_component *c) |
118 | static void arc_print_confdata(arc_component *c) |
119 | { |
119 | { |
120 | cm_resource_list *configdata; |
120 | cm_resource_list *configdata; |
121 | int i; |
121 | unsigned int i; |
122 | 122 | ||
123 | if (!c->configdatasize) |
123 | if (!c->configdatasize) |
124 | return; /* No configuration data */ |
124 | return; /* No configuration data */ |
125 | 125 | ||
126 | configdata = malloc(c->configdatasize, 0); |
126 | configdata = malloc(c->configdatasize, 0); |
Line 159... | Line 159... | ||
159 | } |
159 | } |
160 | 160 | ||
161 | /** Print information about component */ |
161 | /** Print information about component */ |
162 | static void arc_print_component(arc_component *c) |
162 | static void arc_print_component(arc_component *c) |
163 | { |
163 | { |
164 | int i; |
164 | unsigned int i; |
165 | 165 | ||
166 | printf("%s: ",ctypes[c->type]); |
166 | printf("%s: ",ctypes[c->type]); |
167 | for (i = 0; i < c->identifier_len; i++) |
167 | for (i = 0; i < c->identifier_len; i++) |
168 | printf("%c", c->identifier[i]); |
168 | printf("%c", c->identifier[i]); |
169 | 169 |