]> pilppa.org Git - uci.git/blobdiff - libuci.c
make uci_errstr const
[uci.git] / libuci.c
index ccf29b7ca708f5d143bff88ca457acae90ed518a..7f4f1589126abf8096e14f24f2b92fe206849c00 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",