X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmountd.git;a=blobdiff_plain;f=uci.c;h=f5aad020da387d5a19aee69faf63608a31aff4b2;hp=4f7adb82c0ebee46ed75812225dcd0f4787c177a;hb=f07729fc166ce673ecafcfe904c23c38059af171;hpb=be3b285c88648c24f7e4b36bebac56a95fa80f7e diff --git a/uci.c b/uci.c index 4f7adb8..f5aad02 100644 --- a/uci.c +++ b/uci.c @@ -28,7 +28,7 @@ struct uci_package *p = NULL; struct uci_context* uci_init(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, &p) != UCI_OK) { log_printf("/etc/config/%s is missing or corrupt\n", config_file);