From 8bd979970a6a836463d7d80c79011813bbd5637e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 5 Oct 2017 11:15:01 +0100 Subject: [PATCH] lib: Use caml_failwith instead of compat wrapper failwith. --- augeas-c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.8.3.1