diff -r e5976864dfe9 -r a1044ae95953 FileAlias.m --- a/FileAlias.m Sat May 24 13:24:33 2008 -0700 +++ b/FileAlias.m Wed Jul 16 10:50:34 2008 -0700 @@ -199,7 +199,7 @@ FSRef matches[count]; #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 - if( ! FSMatchAliasBulk(fromRefPtr, rules, _alias, &count, matches, &wasChanged, NULL, NULL), error ) { + if( ! CheckOSErr( FSMatchAliasBulk(fromRefPtr, rules, _alias, &count, matches, &wasChanged, NULL, NULL), error) ) { NSLog(@"%@: FSMatchAliasBulk failed!",self); return nil; }