([NSProcessInfo -globallyUniqueString]): Don't use the %@ printf

format directive, since it isn't implemented yet; use %s and -cString
instead.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@717 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-12 22:28:41 +00:00
parent 731c180330
commit 40d050bba2

View file

@ -325,8 +325,10 @@ int main(int argc, char *argv[], char *env[])
// $$$ The format of the string is not specified by the OpenStep
// specification. It could be useful to change this format after
// NeXTSTEP release 4.0 comes out.
return [NSString stringWithFormat:@"%@:%d:[%@]",
[self hostName],(int)getpid(),[[NSDate date] description]];
return [NSString stringWithFormat:@"%s:%d:[%s]",
[[self hostName] cString],
(int)getpid(),
[[[NSDate date] description] cString]];
}
/*************************************************************************