X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=augeas_c.c;fp=augeas_c.c;h=0b535d65575e493d08cdb47030ced7afeea6b133;hb=427847706730c43cff31ebdd8ab539fee05fce7d;hp=3cc10216a1c725542523a31fa7c8d92e41d0bd0a;hpb=733538eeff0a67be144adc181e54771e059ef222;p=ocaml-augeas.git 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;