*** empty log message ***

This commit is contained in:
glenux 2004-02-26 08:00:56 +00:00
parent bdb4a18565
commit 8433e0b1c7
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@ void * msgSpaceListElemOpen(msgSpaceListElemId listElemId){
listElemFd=shm_open(listElemId,O_RDWR,SHM_DEFAULT_MODE); listElemFd=shm_open(listElemId,O_RDWR,SHM_DEFAULT_MODE);
if (listElemFd == -1 ) { if (listElemFd == -1 ) {
NZG_ERROR("shm_open : msgSpaceList open",listElemId); NZG_ERROR("shm_open : msgSpaceListElem open",listElemId);
goto ERROR; goto ERROR;
} }
@ -18,6 +18,7 @@ void * msgSpaceListElemOpen(msgSpaceListElemId listElemId){
MAP_SHARED, MAP_SHARED,
listElemFd, listElemFd,
0); 0);
if( listElemAddr == MAP_FAILED ) { if( listElemAddr == MAP_FAILED ) {
NZG_ERROR("mmap",listElemId); NZG_ERROR("mmap",listElemId);
goto ERROR; goto ERROR;

View file

@ -23,7 +23,7 @@ int msgSpaceListFindId(msgSpaceId spaceId){
if (DEBUG) { printf("SpaceList : vide\n"); } if (DEBUG) { printf("SpaceList : vide\n"); }
return 1; return 1;
} else { } else {
return msgSpaceListElemFindId(listId,spaceId); return msgSpaceListElemFindId(listHeadElemId,spaceId);
} }
if (msgSpaceListClose(list) < 0){ if (msgSpaceListClose(list) < 0){
NZG_ERROR("msgSpaceListClose",""); NZG_ERROR("msgSpaceListClose","");