printer tree FEATURE using lysc nodes for printing
diff --git a/src/printer_schema.c b/src/printer_schema.c
index 4cb89a0..4b8fed8 100644
--- a/src/printer_schema.c
+++ b/src/printer_schema.c
@@ -68,7 +68,7 @@
             ret = LY_EINVAL;
             break;
         }
-        ret = tree_print_parsed_module(out, module, options, line_length);
+        ret = tree_print_module(out, module, options, line_length);
         break;
     /* TODO not yet implemented
     case LYS_OUT_INFO: