*** empty log message ***
This commit is contained in:
parent
93c878b6f6
commit
276d279d0e
1 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,8 @@ msgSpace * msgSpaceCreate(
|
||||||
MSGSPACE_DEFAULT_MODE
|
MSGSPACE_DEFAULT_MODE
|
||||||
);
|
);
|
||||||
if (mSFd == -1 ) {
|
if (mSFd == -1 ) {
|
||||||
fprintf( stderr, "msgSpace creation failed: %s\n",
|
fprintf( stderr, "msgSpace %s creation failed: %s\n",
|
||||||
|
(char*)nzgId,
|
||||||
strerror( errno ) );
|
strerror( errno ) );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +56,7 @@ msgSpace * msgSpaceCreate(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf( "Map addr is 0x%08x\n", mSAddr );
|
printf( "Map addr is 0x%08x\n", (int)mSAddr );
|
||||||
|
|
||||||
/* on ferme le descripteur du fichier */
|
/* on ferme le descripteur du fichier */
|
||||||
close(mSFd);
|
close(mSFd);
|
||||||
|
@ -100,6 +101,7 @@ msgSpaceId msgSp2nzgId(msgSpaceId spaceId){
|
||||||
int slen;
|
int slen;
|
||||||
slen=strlen(spaceId);
|
slen=strlen(spaceId);
|
||||||
resNzgId = (char *)malloc(sizeof(char)*(slen+11));
|
resNzgId = (char *)malloc(sizeof(char)*(slen+11));
|
||||||
sprintf(resNzgId,"/tmp/.nzg-%s",(char *)spaceId);
|
/* sprintf(resNzgId,"/tmp/.nzg-%s",(char *)spaceId); */
|
||||||
|
sprintf(resNzgId,"/nzgSpace%s",(char *)spaceId);
|
||||||
return ((msgSpaceId)resNzgId);
|
return ((msgSpaceId)resNzgId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue