Changes in uspace/app/taskdump/symtab.c [077bc931:6afc9d7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/symtab.c
r077bc931 r6afc9d7 88 88 } 89 89 90 rc = read _all(fd, &elf_hdr, sizeof(elf_header_t));90 rc = read(fd, &elf_hdr, sizeof(elf_header_t)); 91 91 if (rc != sizeof(elf_header_t)) { 92 92 printf("failed reading elf header\n"); … … 202 202 * @return EOK on success, ENOENT if no such symbol was found. 203 203 */ 204 int symtab_name_to_addr(symtab_t *st, c har *name, uintptr_t *addr)204 int symtab_name_to_addr(symtab_t *st, const char *name, uintptr_t *addr) 205 205 { 206 206 size_t i; … … 310 310 return EIO; 311 311 312 rc = read _all(fd, sec_hdr, sizeof(elf_section_header_t));312 rc = read(fd, sec_hdr, sizeof(elf_section_header_t)); 313 313 if (rc != sizeof(elf_section_header_t)) 314 314 return EIO; … … 346 346 } 347 347 348 rc = read _all(fd, *ptr, size);348 rc = read(fd, *ptr, size); 349 349 if (rc != (ssize_t) size) { 350 350 printf("failed reading chunk\n");
Note:
See TracChangeset
for help on using the changeset viewer.