aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 7d29a9cf..1d6a8663 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -177,7 +177,7 @@ main(int argc, char** argv)
(SerdEndSink)serd_writer_end_anon);
const SerdStatus status = (from_file)
- ? serd_reader_read_file(reader, in_fd, input)
+ ? serd_reader_read_file(reader, in_fd, (const uint8_t*)in_name)
: serd_reader_read_string(reader, input);
serd_reader_free(reader);