Fixup bad report of selector in an exception in runloop

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39023 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-10-03 17:38:21 +00:00
parent 66e9b7088e
commit 3e0442abe1
2 changed files with 4 additions and 4 deletions

View file

@ -113,9 +113,9 @@ static NSDate *theFuture = nil;
{ {
NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') " NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') "
@"raised during performSelector... with target %p " @"raised during performSelector... with target %p "
@"and selector '%@'", @"and selector '%s'",
[localException name], [localException reason], target, [localException name], [localException reason], target,
NSStringFromSelector([target selector])); sel_getName(selector));
} }
NS_ENDHANDLER NS_ENDHANDLER
} }

View file

@ -1335,9 +1335,9 @@ GSRunLoopInfoForThread(NSThread *aThread)
{ {
NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') " NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') "
@"raised during perform in other thread... with receiver %p " @"raised during perform in other thread... with receiver %p "
@"and selector '%@'", @"and selector '%s'",
[localException name], [localException reason], receiver, [localException name], [localException reason], receiver,
NSStringFromSelector(selector)); sel_getName(selector));
} }
} }
NS_ENDHANDLER NS_ENDHANDLER