diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/plugins/FileInputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx index a4c809915..e12439cd3 100644 --- a/src/input/plugins/FileInputPlugin.cxx +++ b/src/input/plugins/FileInputPlugin.cxx @@ -70,7 +70,7 @@ input_file_open(const char *filename, const int fd = open_cloexec(filename, O_RDONLY|O_BINARY, 0); if (fd < 0) { - if (errno != ENOENT && errno != ENOTDIR) + if (errno != ENOTDIR) error.FormatErrno("Failed to open \"%s\"", filename); return nullptr; |