schema tree NEW when cyclic ref check
diff --git a/src/log.h b/src/log.h
index c7ee0a3..e5f54b7 100644
--- a/src/log.h
+++ b/src/log.h
@@ -172,7 +172,7 @@
     LYVE_XPATH,        /**< invalid XPath expression */
     LYVE_SEMANTICS,    /**< generic semantic error */
     LYVE_SYNTAX_XML,   /**< XML-related syntax error */
-    LYVE_RESTRICTION   /**< YANG data does not reflect some of the module restrictions */
+    LYVE_DATA,         /**< YANG data does not reflect some of the module restrictions */
 } LY_VECODE;
 
 /**