use -fPIC
[project/uci.git] / cli.c
diff --git a/cli.c b/cli.c
index 23386c1..ab0f9b8 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -59,7 +59,7 @@ static void uci_show_file(const char *name)
 
 static int uci_show(int argc, char **argv)
 {
-       char **configs = uci_list_configs(ctx);
+       char **configs = uci_list_configs();
        char **p;
 
        if (!configs)