Skip to content

Commit

Permalink
elf: dont log open errors
Browse files Browse the repository at this point in the history
They are propagated to the caller.
Don't spam the log.
  • Loading branch information
stsp committed Nov 16, 2023
1 parent 3427ffa commit 76b5297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fdpp/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void *elf_open(const char *name)

fd = open(name, O_RDONLY);
if (fd == -1) {
perror("open()");
// perror("open()");
return NULL;
}
fstat(fd, &st);
Expand Down

0 comments on commit 76b5297

Please sign in to comment.