mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0213-ocaml-Add-handling-for-errno-ENOENT.patch

ffd6ed
From c9bd51c944dc9e8136861ba0a8c8ba1c32d84d5e Mon Sep 17 00:00:00 2001
ffd6ed
From: Pino Toscano <ptoscano@redhat.com>
ffd6ed
Date: Mon, 24 Aug 2015 18:11:18 +0200
ffd6ed
Subject: [PATCH] ocaml: Add handling for errno ENOENT.
ffd6ed
ffd6ed
(cherry picked from commit baa4ec6e4536be971d482af76f7dca89e74573a7)
ffd6ed
---
ffd6ed
 generator/ocaml.ml | 1 +
ffd6ed
 1 file changed, 1 insertion(+)
ffd6ed
ffd6ed
diff --git a/generator/ocaml.ml b/generator/ocaml.ml
ffd6ed
index f58cab3..ae2fb2e 100644
ffd6ed
--- a/generator/ocaml.ml
ffd6ed
+++ b/generator/ocaml.ml
ffd6ed
@@ -36,6 +36,7 @@ let ocaml_errnos = [
ffd6ed
   "ENOTSUP";
ffd6ed
   "EPERM";
ffd6ed
   "ESRCH";
ffd6ed
+  "ENOENT";
ffd6ed
 ]
ffd6ed
 
ffd6ed
 (* Generate the OCaml bindings interface. *)
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed