diff options
-rw-r--r-- | Foundation/GTMNSFileManager+Carbon.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMNSFileManager+Carbon.m b/Foundation/GTMNSFileManager+Carbon.m index 8bd5f69..fc990ae 100644 --- a/Foundation/GTMNSFileManager+Carbon.m +++ b/Foundation/GTMNSFileManager+Carbon.m @@ -91,7 +91,7 @@ CantUseParams: fsRef = (FSRef*)[fsRefData mutableBytes]; Boolean isDir = FALSE; const UInt8 *filePath = (const UInt8 *)[path fileSystemRepresentation]; - __Require_noErr_action(FSPathMakeRef(filePath, fsRef, &isDir), + __Require_noErr_Action(FSPathMakeRef(filePath, fsRef, &isDir), CantMakeRef, fsRef = NULL); CantMakeRef: CantAllocateFSRef: |