aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 6020a271..c5183008 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -155,7 +155,7 @@ main(int argc, char** argv)
if (from_file) {
in_name = in_name ? in_name : input;
if (!in_fd) {
- input = serd_uri_to_path(input);
+ input = serd_uri_to_path(in_name);
if (!(in_fd = serd_fopen((const char*)input, "r"))) {
return 1;
}