String usage updates.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Jonathan Gapen 2001-03-19 23:53:23 +00:00
parent 6852355af1
commit cb8b09362f
7 changed files with 31 additions and 28 deletions

View file

@ -590,8 +590,7 @@ fmalloc (NSZone *zone, size_t size)
objc_mutex_unlock(zptr->lock);
if (zone->name != nil)
[NSException raise: NSMallocException
format: @"Zone %s has run out of memory",
[zone->name cString]];
format: @"Zone %@ has run out of memory", zone->name];
else
[NSException raise: NSMallocException
format: @"Out of memory"];
@ -690,8 +689,8 @@ frealloc (NSZone *zone, void *ptr, size_t size)
objc_mutex_unlock(zptr->lock);
if (zone->name != nil)
[NSException raise: NSMallocException
format: @"Zone %s has run out of memory",
[zone->name cString]];
format: @"Zone %@ has run out of memory",
zone->name];
else
[NSException raise: NSMallocException
format: @"Out of memory"];
@ -1336,8 +1335,8 @@ nmalloc (NSZone *zone, size_t size)
objc_mutex_unlock(zptr->lock);
if (zone->name != nil)
[NSException raise: NSMallocException
format: @"Zone %s has run out of memory",
[zone->name cString]];
format: @"Zone %@ has run out of memory",
zone->name];
else
[NSException raise: NSMallocException
format: @"Out of memory"];