]> pilppa.org Git - uci.git/blobdiff - ucimap-example.c
fix a typo
[uci.git] / ucimap-example.c
index 1b2f601742a991fb38ec739bbb7b536f70674adb..d433f6155bdaf374fca440e04227012f4fb7a75b 100644 (file)
@@ -63,7 +63,7 @@ network_parse_ip(void *section, struct uci_optmap *om, union ucimap_data *data,
 }
 
 static int
-network_format_ip(void *sction, struct uci_optmap *om, union ucimap_data *data, char **str)
+network_format_ip(void *section, struct uci_optmap *om, union ucimap_data *data, char **str)
 {
        static char buf[16];
        unsigned char *ip = (unsigned char *) data->data[0];