From 915a2ea0c6436d48ddebf054bb9eded714585674 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 18 May 2024 01:23:32 +1000 Subject: [PATCH] fix compile error in previous commit --- Sources/IORingUtils/Extensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/IORingUtils/Extensions.swift b/Sources/IORingUtils/Extensions.swift index 685bf93..9119803 100644 --- a/Sources/IORingUtils/Extensions.swift +++ b/Sources/IORingUtils/Extensions.swift @@ -129,7 +129,7 @@ public extension FileDescriptorRepresentable { func getSize() throws -> Int { var st = stat() - throwingGlobalErrno { + try Errno.throwingGlobalErrno { fstat(fileDescriptor, &st) }