From 76b5297f3a592b4926a9d9068bac0d81c0733bfc Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Thu, 16 Nov 2023 19:00:14 +0500 Subject: [PATCH] elf: dont log open errors They are propagated to the caller. Don't spam the log. --- fdpp/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdpp/elf.c b/fdpp/elf.c index 12b4fb24..2b857f6c 100644 --- a/fdpp/elf.c +++ b/fdpp/elf.c @@ -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);