add make install to the uci build directory
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index ab65d1c..0850ad6 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -32,7 +32,8 @@
 
 #define UCI_CONFDIR "/etc/config"
 #define UCI_SAVEDIR "/tmp/.uci"
-#define UCI_FILEMODE   0600
+#define UCI_DIRMODE 0700
+#define UCI_FILEMODE 0600
 
 enum
 {
@@ -339,7 +340,7 @@ struct uci_context
        struct uci_list history_path;
 
        /* private: */
-       int errno;
+       int err;
        const char *func;
        jmp_buf trap;
        bool internal;