Changeset b4cbef1 in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2010-02-03T16:52:37Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b3e776, eda925a
- Parents:
- 472c09d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r472c09d rb4cbef1 230 230 static void ldr_set_files(ipc_callid_t rid, ipc_call_t *request) 231 231 { 232 void*buf;232 fdi_node_t *buf; 233 233 size_t buf_size; 234 int rc = async_data_receive(&buf, 0, sizeof(fdi_node_t), &buf_size);234 int rc = async_data_receive(&buf, 0, 0, sizeof(fdi_node_t), &buf_size); 235 235 236 236 if (rc == EOK) { … … 252 252 int i; 253 253 for (i = 0; i < count; i++) 254 _filv[i] = & ((fdi_node_t *) buf)[i];254 _filv[i] = &buf[i]; 255 255 256 256 _filv[count] = NULL; … … 266 266 267 267 filc = count; 268 fil_buf = (fdi_node_t *)buf;268 fil_buf = buf; 269 269 filv = _filv; 270 270 }
Note:
See TracChangeset
for help on using the changeset viewer.