printers BUGFIX actually return an error on printing error
diff --git a/src/printer.h b/src/printer.h
index c85be70..331d0af 100644
--- a/src/printer.h
+++ b/src/printer.h
@@ -70,7 +70,7 @@
 
 int json_print_data(struct lyout *out, const struct lyd_node *root, int options);
 int xml_print_data(struct lyout *out, const struct lyd_node *root, int options);
-void xml_print_node(struct lyout *out, int level, const struct lyd_node *node, int toplevel, int options);
+int xml_print_node(struct lyout *out, int level, const struct lyd_node *node, int toplevel, int options);
 
 /**
  * get know if the node is supposed to be printed according to the specified with-default mode