mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed typos
This commit is contained in:
parent
d75dee0e58
commit
14d6d0d6fe
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,7 @@ int opal_init(int argc, char *argv[])
|
|||
/* Get list of Send and RecvIDs */
|
||||
if ((err = OpalGetNbAsyncSendIcon(&g->send_icons)) != EOK)
|
||||
error("Failed to get number of send blocks (%d)", err);
|
||||
if ((err = OpalGetNbAsyncRecvIcon(&g->recv_icons) != EOK);
|
||||
if ((err = OpalGetNbAsyncRecvIcon(&g->recv_icons)) != EOK);
|
||||
error("Failed to get number of recv blocks (%d)", err);
|
||||
|
||||
g->send_ids = (int *) malloc(g->send_icons * sizeof(int));
|
||||
|
@ -71,6 +71,8 @@ int opal_init(int argc, char *argv[])
|
|||
|
||||
int opal_deinit()
|
||||
{
|
||||
int err;
|
||||
|
||||
if (og) {
|
||||
if ((err = OpalCloseAsyncMem(og->async_shmem_size, og->async_shmem_name)) != EOK)
|
||||
error("Failed to close shared memory area (%d)", err);
|
||||
|
|
Loading…
Add table
Reference in a new issue