* rectifié la taille de l'allocation
This commit is contained in:
parent
d6ecdfb25e
commit
e09c683a08
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ msgSpace * msgSpaceCreate(
|
||||||
}
|
}
|
||||||
|
|
||||||
//on redimentionne l'element
|
//on redimentionne l'element
|
||||||
if (ftruncate(mSFd, sizeof(PAGESIZE)) == -1){
|
if (ftruncate(mSFd, sizeof(* mSAddr)) == -1){
|
||||||
fprintf( stderr, "msgSpace resizing failed: %s\n",
|
fprintf( stderr, "msgSpace resizing failed: %s\n",
|
||||||
strerror( errno ) );
|
strerror( errno ) );
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue