Skip to content

Commit 267039f

Browse files
committed
Fix formatting error
1 parent 066a8ca commit 267039f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Support/Unix/Path.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,12 +1025,12 @@ std::error_code openFile(const Twine &Name, int &ResultFD,
10251025
if ((ResultFD = sys::RetryAfterSignal(-1, Open)) < 0)
10261026
return errnoAsErrorCode();
10271027
if (Access == FA_Read) {
1028-
struct stat Status;
1028+
struct stat Status;
10291029
if (fstat(ResultFD, &Status) == -1)
10301030
return errnoAsErrorCode();
10311031
if (S_ISDIR(Status.st_mode))
10321032
return make_error_code(errc::is_a_directory);
1033-
}
1033+
}
10341034
#ifndef O_CLOEXEC
10351035
if (!(Flags & OF_ChildInherit)) {
10361036
int r = fcntl(ResultFD, F_SETFD, FD_CLOEXEC);

0 commit comments

Comments
 (0)