import patches/ and cmake support
[project/mountd.git] / ucix.c
diff --git a/ucix.c b/ucix.c
index 66f8d77..e2a6780 100644 (file)
--- a/ucix.c
+++ b/ucix.c
@@ -18,7 +18,7 @@ static inline int ucix_get_ptr(struct uci_context *ctx, const char *p, const cha
 struct uci_context* ucix_init(const char *config_file)
 {
        struct uci_context *ctx = uci_alloc_context();
-       uci_add_history_path(ctx, "/var/state");
+       uci_add_delta_path(ctx, "/var/state");
        if(uci_load(ctx, config_file, NULL) != UCI_OK)
        {
                printf("%s/%s is missing or corrupt\n", ctx->savedir, config_file);