From: Richard W.M. Jones Date: Thu, 5 Oct 2017 10:15:01 +0000 (+0100) Subject: lib: Use caml_failwith instead of compat wrapper failwith. X-Git-Tag: v0.6~19 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8bd979970a6a836463d7d80c79011813bbd5637e;p=ocaml-augeas.git lib: Use caml_failwith instead of compat wrapper failwith. --- diff --git a/augeas-c.c b/augeas-c.c index 885b829..da11acc 100644 --- a/augeas-c.c +++ b/augeas-c.c @@ -1,5 +1,5 @@ /* Augeas OCaml bindings - * Copyright (C) 2008-2012 Red Hat Inc., Richard W.M. Jones + * Copyright (C) 2008-2017 Red Hat Inc., Richard W.M. Jones * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -215,7 +215,7 @@ ocaml_augeas_get (value tv, value pathv) else if (r == -1) /* Error or multiple matches */ raise_error (t, "Augeas.get"); else - failwith ("Augeas.get: bad return value"); + caml_failwith ("Augeas.get: bad return value"); CAMLreturn (optv); }