mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fix various incorrect log statements
This commit is contained in:
parent
a745addb32
commit
2d45396de0
2 changed files with 8 additions and 6 deletions
|
@ -3798,7 +3798,8 @@ static NSSet *fileKeys = nil;
|
|||
|
||||
dwErrorCode = GetLastError();
|
||||
if (dwErrorCode == ERROR_NONE_MAPPED)
|
||||
NSDebugMLog(@"Error %d in LookupAccountSid for '%S'", _path);
|
||||
NSDebugMLog(@"Error %d in LookupAccountSid for '%S'",
|
||||
dwErrorCode, _path);
|
||||
else
|
||||
NSDebugMLog(@"Error %d getting security info for '%S'",
|
||||
dwErrorCode, _path);
|
||||
|
@ -3963,7 +3964,8 @@ static NSSet *fileKeys = nil;
|
|||
|
||||
dwErrorCode = GetLastError();
|
||||
if (dwErrorCode == ERROR_NONE_MAPPED)
|
||||
NSDebugMLog(@"Error %d in LookupAccountSid for '%S'", _path);
|
||||
NSDebugMLog(@"Error %d in LookupAccountSid for '%S'",
|
||||
dwErrorCode, _path);
|
||||
else
|
||||
NSDebugMLog(@"Error %d getting security info for '%S'",
|
||||
dwErrorCode, _path);
|
||||
|
|
|
@ -275,12 +275,12 @@ static Class messagePortClass = 0;
|
|||
if (d == nil)
|
||||
{
|
||||
NSDebugMLLog(@"NSMessagePort",
|
||||
@"No delegate to handle incoming message", 0);
|
||||
@"No delegate to handle incoming message");
|
||||
return;
|
||||
}
|
||||
if ([d respondsToSelector: @selector(handlePortMessage:)] == NO)
|
||||
{
|
||||
NSDebugMLLog(@"NSMessagePort", @"delegate doesn't handle messages", 0);
|
||||
NSDebugMLLog(@"NSMessagePort", @"delegate doesn't handle messages");
|
||||
return;
|
||||
}
|
||||
NSDebugMLLog(@"NSMessagePort", @"%@ asking %@ to handle msg", self, d);
|
||||
|
@ -612,7 +612,7 @@ static Class messagePortClass = 0;
|
|||
}
|
||||
if (rType != GSP_HEAD && rItems == nil)
|
||||
{
|
||||
NSLog(@"%@ - initial part of message had bad type");
|
||||
NSLog(@"%@ - initial part of message had bad type", self);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -873,7 +873,7 @@ again:
|
|||
/* This is probably an end of file
|
||||
* eg. when the process at the other end has terminated.
|
||||
*/
|
||||
NSDebugMLog(@"NSMessagePort",
|
||||
NSDebugMLLog(@"NSMessagePort",
|
||||
@"unable to write to mailslot '%@' - %@",
|
||||
this->name, [NSError _last]);
|
||||
[self invalidate];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue