doc BUGFIX typo
diff --git a/src/tree_schema.h b/src/tree_schema.h
index 9874378..d9ad323 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -2230,7 +2230,7 @@
  */
 #define LYS_FIND_XP_SCHEMA  0x08    /**< Apply node access restrictions defined for 'when' and 'must' evaluation. */
 #define LYS_FIND_XP_OUTPUT  0x10    /**< Search RPC/action output nodes instead of input ones. */
-#define LYS_FIND_NO_MATCH_ERROR 0x40    /**< Return error if a path segmenbt matches no nodes, otherwise only warning
+#define LYS_FIND_NO_MATCH_ERROR 0x40    /**< Return error if a path segment matches no nodes, otherwise only warning
                                              is printed. */
 /** @} findxpathoptions */