Changeset 7bdcc45 in mainline for kernel/generic/src/proc/program.c
- Timestamp:
- 2010-12-16T16:38:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (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
-
kernel/generic/src/proc/program.c
r8e58f94 r7bdcc45 145 145 146 146 program_loader = image_addr; 147 LOG("Registered program loader at 0x%" PRIp,148 image_addr);147 LOG("Registered program loader at %p", 148 (void *) image_addr); 149 149 150 150 return EOK; … … 210 210 * 211 211 */ 212 unative_t sys_program_spawn_loader(char *uspace_name, size_t name_len)212 sysarg_t sys_program_spawn_loader(char *uspace_name, size_t name_len) 213 213 { 214 214 /* Cap length of name and copy it from userspace. */ … … 219 219 int rc = copy_from_uspace(namebuf, uspace_name, name_len); 220 220 if (rc != 0) 221 return ( unative_t) rc;221 return (sysarg_t) rc; 222 222 223 223 namebuf[name_len] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.