remove some old junk
[project/uci.git] / test.c
diff --git a/test.c b/test.c
index 44e2dc8..caf773b 100644 (file)
--- a/test.c
+++ b/test.c
@@ -10,7 +10,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
-#include "libuci.h"
+#include "uci.h"
 
 int main(int argc, char **argv)
 {
@@ -20,11 +20,11 @@ int main(int argc, char **argv)
                fprintf(stderr, "Failed to allocate uci context");
                return 1;
        }
-       
-       if (uci_parse(ctx, argv[1])) {
+
+       if (uci_load(ctx, argv[1])) {
                uci_perror(ctx, "uci_parse");
                return 1;
        }
-       
+
        return 0;
 }