From 427847706730c43cff31ebdd8ab539fee05fce7d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 11 Jun 2012 13:59:15 +0100 Subject: [PATCH] Augeas.matches: Fix silly typo in binding. --- augeas_c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1