From f382aaa84cf3b499f443e5b5b1ce8f8a9516c0ef Mon Sep 17 00:00:00 2001 From: glenux Date: Wed, 25 Feb 2004 08:28:20 +0000 Subject: [PATCH] *** empty log message *** --- src/allocate.c | 2 -- src/bufferMap.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/allocate.c b/src/allocate.c index 7662b1a..964d19c 100644 --- a/src/allocate.c +++ b/src/allocate.c @@ -29,9 +29,7 @@ void * msgAllocate(msgSpace *space, float minPoolCoef; int selectedPoolIndex; int bufferFreeIndex; - int mSPoolFd; msgPoolData * mSPoolDataTabAddr; - int bufferNb; selectedPoolIndex=-1; diff --git a/src/bufferMap.c b/src/bufferMap.c index 9c69e0d..f22283c 100644 --- a/src/bufferMap.c +++ b/src/bufferMap.c @@ -30,7 +30,7 @@ void * msgBufferMap(msgPoolData * poolDataTab, int poolIndex, int bufferIndex) { NZG_ERROR("mmap", poolBufferTabId); goto ERROR; } - printf( "Mapped from 0x%08x\n to 0x%08x\n", + printf( "Mapped from 0x%08x to 0x%08x\n", (int)resultAddr, (int)resultAddr+ bufferSize*(bufferIndex+1) );