Changes in kernel/generic/src/proc/program.c [fa3b8e4:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
rfa3b8e4 r96b02eb9 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.