diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2017-10-06 13:14:13 -0400 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2017-10-06 13:37:34 -0400 |
commit | 544600f074b791152373d8e20681ac698e1f398b (patch) | |
tree | f24b69ee29b7484eddbde5a184b7faf0fb356e11 /Foundation | |
parent | 8a2d361aa63bc434d1e8c0bc92677eee5aa0f0af (diff) |
Fix error in __Require_noErr_Action naming
Diffstat (limited to 'Foundation')
-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: |