Changeset c621f4aa in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2010-07-25T10:11:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 377cce8
- Parents:
- 24a2517 (diff), a2da43c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/srv/loader/main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r24a2517 rc621f4aa 58 58 #include <errno.h> 59 59 #include <async.h> 60 #include <str ing.h>60 #include <str.h> 61 61 #include <as.h> 62 62 … … 241 241 * Allocate new filv 242 242 */ 243 fdi_node_t **_filv = (fdi_node_t * ) malloc((count + 1) *sizeof(fdi_node_t *));243 fdi_node_t **_filv = (fdi_node_t **) calloc(count + 1, sizeof(fdi_node_t *)); 244 244 if (_filv == NULL) { 245 245 free(buf);
Note:
See TracChangeset
for help on using the changeset viewer.
