Changeset ce04ea44 in mainline for uspace/app/taskdump/symtab.c
- Timestamp:
- 2017-04-02T12:27:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- d4067a7
- Parents:
- 163fc09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
r163fc09 rce04ea44 88 88 } 89 89 90 rc = read(fd, &pos, &elf_hdr, sizeof(elf_header_t));90 rc = vfs_read(fd, &pos, &elf_hdr, sizeof(elf_header_t)); 91 91 if (rc != sizeof(elf_header_t)) { 92 92 printf("failed reading elf header\n"); … … 306 306 aoff64_t pos = elf_hdr->e_shoff + idx * sizeof(elf_section_header_t); 307 307 308 rc = read(fd, &pos, sec_hdr, sizeof(elf_section_header_t));308 rc = vfs_read(fd, &pos, sec_hdr, sizeof(elf_section_header_t)); 309 309 if (rc != sizeof(elf_section_header_t)) 310 310 return EIO; … … 335 335 } 336 336 337 rc = read(fd, &pos, *ptr, size);337 rc = vfs_read(fd, &pos, *ptr, size); 338 338 if (rc != (ssize_t) size) { 339 339 printf("failed reading chunk\n");
Note:
See TracChangeset
for help on using the changeset viewer.