Changeset 333 for trunk/kernel/libk
- Timestamp:
- Aug 7, 2017, 10:11:25 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/elf.c
r332 r333 219 219 xptr_t file_xp; // extended pointer on created file descriptor 220 220 uint32_t file_id; // file descriptor index (unused) 221 uint32_t count; // bytes counter222 221 error_t error; 223 222 … … 292 291 293 292 // load seg descriptors array to local buffer 294 count= vfs_user_move( true, // to_buffer293 error = vfs_user_move( true, // to_buffer 295 294 file_xp, 296 295 segs_base, 297 296 segs_size ); 298 297 299 if( count != segs_size)298 if( error ) 300 299 { 301 300 printk("\n[ERROR] in %s : cannot read segments descriptors\n", __FUNCTION__ );
Note: See TracChangeset
for help on using the changeset viewer.