From 1ccaee141c106584962f208c45a35892cd1db4fc Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Tue, 5 Sep 2023 11:36:08 -0700 Subject: [PATCH] Fix typos in renaming message for Errno --- Sources/System/Errno.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/System/Errno.swift b/Sources/System/Errno.swift index d55e52b..15d9fdd 100644 --- a/Sources/System/Errno.swift +++ b/Sources/System/Errno.swift @@ -142,7 +142,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable { public static var execFormatError: Errno { Errno(_ENOEXEC) } @_alwaysEmitIntoClient - @available(*, unavailable, renamed: "noExec") + @available(*, unavailable, renamed: "execFormatError") public static var ENOEXEC: Errno { execFormatError } /// Bad file descriptor. @@ -529,7 +529,7 @@ public struct Errno: RawRepresentable, Error, Hashable, Codable { public static var nowInProgress: Errno { Errno(_EINPROGRESS) } @_alwaysEmitIntoClient - @available(*, unavailable, renamed: "nowInProcess") + @available(*, unavailable, renamed: "nowInProgress") public static var EINPROGRESS: Errno { nowInProgress } /// Operation already in progress.