aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/file_input_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/file_input_plugin.c b/src/input/file_input_plugin.c
index de0f26753..64a4030ab 100644
--- a/src/input/file_input_plugin.c
+++ b/src/input/file_input_plugin.c
@@ -52,6 +52,8 @@ input_file_open(struct input_stream *is, const char *filename)
fd = open(pathname, O_RDONLY);
if (fd < 0) {
is->error = errno;
+ g_debug("Failed to open \"%s\": %s",
+ pathname, g_strerror(errno));
g_free(pathname);
return false;
}