*** empty log message ***
This commit is contained in:
parent
930ec380bf
commit
0e88e967c7
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@ void * msgSpaceListElemOpen(msgSpaceListElemId listElemId){
|
|||
|
||||
listElemFd=shm_open(listElemId,O_RDWR,SHM_DEFAULT_MODE);
|
||||
if (listElemFd == -1 ) {
|
||||
NZG_ERROR("shm_open : msgSpaceList open",listElemId);
|
||||
NZG_ERROR("shm_open : msgSpaceListElem open",listElemId);
|
||||
goto ERROR;
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,7 @@ void * msgSpaceListElemOpen(msgSpaceListElemId listElemId){
|
|||
MAP_SHARED,
|
||||
listElemFd,
|
||||
0);
|
||||
|
||||
if( listElemAddr == MAP_FAILED ) {
|
||||
NZG_ERROR("mmap",listElemId);
|
||||
goto ERROR;
|
||||
|
|
|
@ -23,7 +23,7 @@ int msgSpaceListFindId(msgSpaceId spaceId){
|
|||
if (DEBUG) { printf("SpaceList : vide\n"); }
|
||||
return 1;
|
||||
} else {
|
||||
return msgSpaceListElemFindId(listId,spaceId);
|
||||
return msgSpaceListElemFindId(listHeadElemId,spaceId);
|
||||
}
|
||||
if (msgSpaceListClose(list) < 0){
|
||||
NZG_ERROR("msgSpaceListClose","");
|
||||
|
|
Loading…
Reference in a new issue