Skip to content

Commit

Permalink
merge from open-source master
Browse files Browse the repository at this point in the history
Change-Id: If5c0de38e4b859b471abcecf16b5511c405bdcef
  • Loading branch information
The Android Open Source Project committed Jul 9, 2010
2 parents 802e057 + d095010 commit c4ad4ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opcontrol/opcontrol.cpp
Expand Up @@ -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));
}
Expand All @@ -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;
Expand Down

0 comments on commit c4ad4ba

Please sign in to comment.