Changeset 98000fb in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2009-06-03T19:34:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r69e68e3 r98000fb 128 128 129 129 if (config.cpu_count > 1) { 130 count_t i;130 size_t i; 131 131 132 132 /* … … 141 141 thread_ready(thread); 142 142 } else 143 printf("Unable to create kcpulb thread for cpu" PRI c"\n", i);143 printf("Unable to create kcpulb thread for cpu" PRIs "\n", i); 144 144 } 145 145 } … … 169 169 * Create user tasks, load RAM disk images. 170 170 */ 171 count_t i;171 size_t i; 172 172 program_t programs[CONFIG_INIT_TASKS]; 173 173 174 174 for (i = 0; i < init.cnt; i++) { 175 175 if (init.tasks[i].addr % FRAME_SIZE) { 176 printf("init[%" PRI c"].addr is not frame aligned\n", i);176 printf("init[%" PRIs "].addr is not frame aligned\n", i); 177 177 continue; 178 178 } … … 214 214 215 215 if (rd != RE_OK) 216 printf("Init binary %" PRI c" not used (error %d)\n", i, rd);216 printf("Init binary %" PRIs " not used (error %d)\n", i, rd); 217 217 } 218 218 }
Note:
See TracChangeset
for help on using the changeset viewer.