mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([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:
parent
b9e4acc0ec
commit
b4be898aef
1 changed files with 4 additions and 2 deletions
|
@ -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]];
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
Loading…
Reference in a new issue