Changeset 99272a3 in mainline for uspace/srv
- Timestamp:
- 2009-06-04T10:12:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8b9f88
- Parents:
- 301ff30
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r301ff30 r99272a3 82 82 static char **filv = NULL; 83 83 /** Buffer holding all preset files */ 84 static inode_t *fil_buf = NULL;84 static fdi_node_t *fil_buf = NULL; 85 85 86 86 static elf_info_t prog_info; … … 243 243 } 244 244 245 if ((buf_size % sizeof( inode_t)) != 0) {245 if ((buf_size % sizeof(fdi_node_t)) != 0) { 246 246 ipc_answer_0(callid, EINVAL); 247 247 ipc_answer_0(rid, EINVAL); … … 268 268 ipc_data_write_finalize(callid, fil_buf, buf_size); 269 269 270 int count = buf_size / sizeof( inode_t);270 int count = buf_size / sizeof(fdi_node_t); 271 271 272 272 /* Allocate filvv */ 273 filv = malloc((count + 1) * sizeof( inode_t *));273 filv = malloc((count + 1) * sizeof(fdi_node_t *)); 274 274 275 275 if (filv == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.