Changeset c621f4aa in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2010-07-25T10:11:13Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
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.
Message:

Merge with mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r24a2517 rc621f4aa  
    5858#include <errno.h>
    5959#include <async.h>
    60 #include <string.h>
     60#include <str.h>
    6161#include <as.h>
    6262
     
    241241                 * Allocate new filv
    242242                 */
    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 *));
    244244                if (_filv == NULL) {
    245245                        free(buf);
Note: See TracChangeset for help on using the changeset viewer.