Changeset 651 for trunk/kernel/libk/elf.c
- Timestamp:
- Nov 14, 2019, 11:50:09 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/elf.c
r635 r651 216 216 process_t * process ) 217 217 { 218 uint32_t new_offset; // unused, required by vfs_lseek() 218 219 kmem_req_t req; // kmem request for program header 219 220 Elf_Ehdr header; // local buffer for .elf header … … 274 275 275 276 // set seek pointer in file descriptor to access segment descriptors array 276 error = vfs_lseek( file_xp , header.e_phoff, SEEK_SET , NULL);277 error = vfs_lseek( file_xp , header.e_phoff, SEEK_SET , &new_offset ); 277 278 278 279 if( error )
Note: See TracChangeset
for help on using the changeset viewer.