Fix problem found with host bionic fortify checks am: dc1921810e
am: 6737d81d15
am: ca253762cb
Change-Id: Ie33aa142f0af34f640397c29baf5d8076b89dc32
This commit is contained in:
commit
fbe95d5c0f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class BluetoothAddressTest : public ::testing::Test {
|
|||
|
||||
void BluetoothAddressTest::FileWriteString(const char* path,
|
||||
const char* string) {
|
||||
int fd = open(path, O_CREAT | O_RDWR);
|
||||
int fd = open(path, O_CREAT | O_RDWR, 0600);
|
||||
EXPECT_TRUE(fd > 0) << "err = " << strerror(errno);
|
||||
|
||||
size_t length = strlen(string);
|
||||
|
|
Loading…
Reference in a new issue