Changeset 435 for trunk/kernel/syscalls/sys_exec.c
- Timestamp:
- Feb 20, 2018, 5:32:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_exec.c
r433 r435 221 221 printk("\n[ERROR] in %s : cannot access args\n", __FUNCTION__ ); 222 222 #endif 223 this->errno = error;223 this->errno = EINVAL; 224 224 return -1; 225 225 } … … 235 235 printk("\n[ERROR] in %s : cannot access envs\n", __FUNCTION__ ); 236 236 #endif 237 this->errno = error;237 this->errno = EINVAL; 238 238 return -1; 239 239 } … … 248 248 #if CONFIG_DEBUG_SYSCALLS_ERROR 249 249 printk("\n[ERROR] in %s : cannot create process %x in cluster %x\n", 250 __FUNCTION__, pid, CXY_FROM_PID( pid);250 __FUNCTION__, pid, CXY_FROM_PID(pid) ); 251 251 #endif 252 252 this->errno = error;
Note: See TracChangeset
for help on using the changeset viewer.