[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH libnbd v2 2/5] generator: Permit "see also" links to nbd_get_error and nbd_get_errno.



---
 generator/API.ml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/generator/API.ml b/generator/API.ml
index dd66fdb..6300b1c 100644
--- a/generator/API.ml
+++ b/generator/API.ml
@@ -3045,7 +3045,8 @@ let pod_of_link = function
 let verify_link =
   let pages = List.map fst handle_calls in
   function
-  | Link "create" | Link "close" -> ()
+  | Link "create" | Link "close"
+  | Link "get_error" | Link "get_errno" -> ()
   | Link page ->
      if not (List.mem page pages) then
        failwithf "verify_link: page nbd_%s does not exist" page
-- 
2.29.0.rc2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]