X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=file.c;h=662c97f5b003024fde65f12bea538fdb14e401f2;hb=bdb2bbfbe937312463763bd5ce35a7f857238081;hp=afa57bfcbca66d0ab7f4dcc61f13d22fda24d390;hpb=9387bced4effec755ccd2a5cdb52c00d0c45990b;p=project%2Fuci.git diff --git a/file.c b/file.c index afa57bf..662c97f 100644 --- a/file.c +++ b/file.c @@ -782,7 +782,7 @@ int uci_load(struct uci_context *ctx, const char *name, struct uci_package **pac file = uci_open_stream(ctx, filename, SEEK_SET, false, false); ctx->errno = 0; UCI_TRAP_SAVE(ctx, done); - uci_import(ctx, file, name, package, true); + UCI_INTERNAL(uci_import, ctx, file, name, package, true); UCI_TRAP_RESTORE(ctx); if (*package) {