From 683b1aba3232acc426ed041fd52b3f56cb54aa70 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Mon, 24 Apr 2023 17:45:52 +0100 Subject: [PATCH] fix bogus 0x before %p in debug log --- EcProcess.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EcProcess.m b/EcProcess.m index 91728e4..02b9a71 100644 --- a/EcProcess.m +++ b/EcProcess.m @@ -1389,7 +1389,7 @@ findMode(NSDictionary* d, NSString* s) shouldMakeNewConnection: (NSConnection*)newConn { [EcProc cmdDbg: cmdConnectDbg - msg: @"New connection 0x%p created", newConn]; + msg: @"New connection %p created", newConn]; return YES; } @@ -3418,7 +3418,7 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval); { [[self ecAlarmDestination] setDestination: nil]; DESTROY(cmdServer); - NSLog(@"lost connection 0x%p to command server\n", connection); + NSLog(@"lost connection %p to command server\n", connection); /* * Cause timeout to go off really soon so we will try to * re-establish the link to the server.