Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6737d81d authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Fix problem found with host bionic fortify checks

am: dc192181

Change-Id: Id82671e9f0b4debc28b516a0b3f10104fc54e198
parents dfe61bf2 dc192181
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);