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

Commit 23e9289e authored by Florian Mayer's avatar Florian Mayer
Browse files

minor doc improvement for tombstone fd code

Change-Id: I8037d9dd5a6c0e86e853d001ccedc472ce61d107
parent d6ccb0b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -417,6 +417,7 @@ static bool rename_tombstone_fd(borrowed_fd fd, borrowed_fd dirfd, const std::st
    return false;
  }

  // This fd is created inside of dirfd in CrashQueue::create_temporary_file.
  std::string fd_path = StringPrintf("/proc/self/fd/%d", fd.get());
  rc = linkat(AT_FDCWD, fd_path.c_str(), dirfd.get(), path.c_str(), AT_SYMLINK_FOLLOW);
  if (rc != 0) {