Changeset 46c20c8 in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
rfb150d78 r46c20c8 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); … … 411 411 break; 412 412 } 413 if ((callid & IPC_CALLID_NOTIFICATION) == 0 && 414 IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) { 413 if (IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) { 415 414 DPRINTF("Responding EINVAL to method %d.\n", 416 415 IPC_GET_METHOD(call));
Note:
See TracChangeset
for help on using the changeset viewer.