make uci_errstr const
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Jan 2008 17:14:12 +0000 (18:14 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Jan 2008 17:14:12 +0000 (18:14 +0100)
libuci.c

index ccf29b7..7f4f158 100644 (file)
--- a/libuci.c
+++ b/libuci.c
@@ -70,7 +70,7 @@
 } while (0)
 
 
-static char *uci_errstr[] = {
+static const char *uci_errstr[] = {
        [UCI_OK] =           "Success",
        [UCI_ERR_MEM] =      "Out of memory",
        [UCI_ERR_INVAL] =    "Invalid argument",