From: Richard W.M. Jones Date: Mon, 11 Jun 2012 12:59:15 +0000 (+0100) Subject: Augeas.matches: Fix silly typo in binding. X-Git-Tag: v0.6~41 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=427847706730c43cff31ebdd8ab539fee05fce7d;p=ocaml-augeas.git Augeas.matches: Fix silly typo in binding. --- diff --git a/augeas_c.c b/augeas_c.c index 3cc1021..0b535d6 100644 --- a/augeas_c.c +++ b/augeas_c.c @@ -1,5 +1,5 @@ /* Augeas OCaml bindings - * Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones + * Copyright (C) 2008-2012 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 @@ -216,7 +216,7 @@ ocaml_augeas_match (value tv, value pathv) CAMLparam2 (tv, pathv); CAMLlocal3 (rv, v, cons); augeas_t t = Augeas_t_val (tv); - char *path = String_val (path); + char *path = String_val (pathv); char **matches; int r, i;