* 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)
{
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;
}