aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 3aabadd26..e57dd06dd 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -3562,7 +3562,7 @@ static int obj_load_progbits(FILE * fp, struct obj_file* f, char* imagebase)
3562 sec->contents = imagebase + (sec->header.sh_addr - base); 3562 sec->contents = imagebase + (sec->header.sh_addr - base);
3563 fseek(fp, sec->header.sh_offset, SEEK_SET); 3563 fseek(fp, sec->header.sh_offset, SEEK_SET);
3564 if (fread(sec->contents, sec->header.sh_size, 1, fp) != 1) { 3564 if (fread(sec->contents, sec->header.sh_size, 1, fp) != 1) {
3565 bb_error_msg("error reading ELF section data: %s\n", strerror(errno)); 3565 bb_perror_msg("error reading ELF section data");
3566 return 0; 3566 return 0;
3567 } 3567 }
3568 3568