|
@@ -10,6 +10,7 @@ import Foundation
|
|
|
public class Errno {
|
|
public class Errno {
|
|
|
|
|
|
|
|
public class func description() -> String {
|
|
public class func description() -> String {
|
|
|
- return String(cString: UnsafePointer(strerror(errno)))
|
|
|
|
|
|
|
+ // https://forums.developer.apple.com/thread/113919
|
|
|
|
|
+ return String(cString: strerror(errno))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|