From ba55e243fd3f42943eda456648631871e885b7e4 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Mon, 15 Aug 2022 14:19:36 -0400 Subject: [PATCH] Fix breakage from #70661 --- src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs b/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs index 1d1d64a969bb13..64f5aff727fa29 100644 --- a/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs +++ b/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs @@ -50,7 +50,7 @@ internal static long CheckIo(long result, string? path = null, bool isDirError = /// internal static void ThrowIOExceptionForLastError() { - ThrowExceptionForIoErrno(Sys.GetLastErrorInfo(), path: null, isDirectory: false); + ThrowExceptionForIoErrno(Sys.GetLastErrorInfo(), path: null, isDirError: false); } ///