--- trunk/src/tools/periph/dexeconfig.c 2008/03/28 14:01:17 1854 | |
+++ trunk/src/tools/periph/dexeconfig.c 2008/03/30 22:58:55 1855 | |
@@ -238,7 +238,7 @@ | |
exit(1); | |
} | |
close(fd); | |
- fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC); | |
+ fc = creat(cfile, S_IWUSR | S_IRUSR); | |
if (fc < 0) { | |
perror("cannot open config file"); | |
exit(1); |