From 936f5a48b63cf73f449b13f485fcd83fc5bb4619 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Tue, 3 Feb 2004 13:48:43 +0000 Subject: [PATCH] Bugfixes for compiling with -DDEBUG --- src/ca/searchTimer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca/searchTimer.cpp b/src/ca/searchTimer.cpp index 0966f0e52..e1d369c69 100644 --- a/src/ca/searchTimer.cpp +++ b/src/ca/searchTimer.cpp @@ -287,14 +287,14 @@ epicsTimerNotify::expireStatus searchTimer::expire ( const epicsTime & currentTi else { this->framesPerTry += 1.0 / this->framesPerTry; } - debugPrintf ( ("Increasing frame count to %u t=%u r=%u\n", + debugPrintf ( ("Increasing frame count to %g t=%u r=%u\n", this->framesPerTry, this->searchAttempts, this->searchResponses) ); } } else { this->framesPerTryCongestThresh = this->framesPerTry / 2.0; this->framesPerTry = 1u; - debugPrintf ( ("Congestion detected - set frames per try to %u t=%u r=%u\n", + debugPrintf ( ("Congestion detected - set frames per try to %g t=%u r=%u\n", this->framesPerTry, this->searchAttempts, this->searchResponses) ); } #endif