aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-07-09 14:21:08 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-07-09 14:21:19 -0700
commitc4ad4bafe1bc1c9e92be1995c288ff89eb7b191e (patch)
tree5010524d08e16a0f1a9990c85ffdcf9c53a0b421
parent802e057e6e55fc120cb6d344ca5e6a2690cff3f0 (diff)
parentd095010b52282f41a483c7780815e0242f1e1629 (diff)
downloadoprofile-c4ad4bafe1bc1c9e92be1995c288ff89eb7b191e.tar.gz
merge from open-source master
Change-Id: If5c0de38e4b859b471abcecf16b5511c405bdcef
-rw-r--r--opcontrol/opcontrol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcontrol/opcontrol.cpp b/opcontrol/opcontrol.cpp
index 0552c8c..ecf4f10 100644
--- a/opcontrol/opcontrol.cpp
+++ b/opcontrol/opcontrol.cpp
@@ -323,11 +323,11 @@ void setup_session_dir()
close(fd);
}
- if (mkdir(OP_DATA_DIR, 755)) {
+ if (mkdir(OP_DATA_DIR, 0755)) {
fprintf(stderr, "Cannot create directory \"%s\": %s\n",
OP_DATA_DIR, strerror(errno));
}
- if (mkdir(OP_DATA_DIR"/samples", 644)) {
+ if (mkdir(OP_DATA_DIR"/samples", 0755)) {
fprintf(stderr, "Cannot create directory \"%s\": %s\n",
OP_DATA_DIR"/samples", strerror(errno));
}
@@ -339,7 +339,7 @@ int do_setup()
setup_session_dir();
- if (mkdir(OP_DRIVER_BASE, 644)) {
+ if (mkdir(OP_DRIVER_BASE, 0755)) {
fprintf(stderr, "Cannot create directory "OP_DRIVER_BASE": %s\n",
strerror(errno));
return -1;