Skip to content
Snippets Groups Projects
Commit fa6d0d45 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

%d should be %p for shmem handle type

parent 2e6382bb
No related branches found
No related tags found
3 merge requests!439RCG 5.0 release fro deb 10,!395Next dev build,!386Allow IPC table to be built in a simulation mode that allows the receiver to fill it
......@@ -40,7 +40,7 @@ attach_shared_memory( const char* sysname )
g_epics_shm_handle = shmem_open(sysname_lower, SHMEM_EPICS_SIZE_MB);
if ( g_epics_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
sysname, SHMEM_EPICS_SIZE_MB, g_epics_shm_handle );
return -1;
}
......@@ -52,7 +52,7 @@ attach_shared_memory( const char* sysname )
g_tp_shm_handle = shmem_open(shm_name, SHMEM_TESTPOINT_SIZE_MB);
if ( g_tp_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
shm_name, SHMEM_TESTPOINT_SIZE_MB, g_tp_shm_handle );
return -1;
}
......@@ -64,7 +64,7 @@ attach_shared_memory( const char* sysname )
g_awg_shm_handle = shmem_open(shm_name, SHMEM_AWG_SIZE_MB);
if ( g_awg_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
shm_name, SHMEM_AWG_SIZE_MB, g_awg_shm_handle );
return -1;
}
......@@ -75,7 +75,7 @@ attach_shared_memory( const char* sysname )
g_ipc_shm_handle = shmem_open( SHMEM_IOMEM_NAME, SHMEM_IOMEM_SIZE_MB);
if ( g_ipc_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
SHMEM_IOMEM_NAME, SHMEM_IOMEM_SIZE_MB, g_ipc_shm_handle );
return -1;
}
......@@ -90,7 +90,7 @@ attach_shared_memory( const char* sysname )
g_daq_shm_handle = shmem_open(shm_name, DEFAULT_SHMEM_ALLOC_SIZE_MB);
if ( g_daq_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
shm_name, DEFAULT_SHMEM_ALLOC_SIZE_MB, g_daq_shm_handle );
return -1;
}
......@@ -102,7 +102,7 @@ attach_shared_memory( const char* sysname )
g_shmipc_shm_handle = shmem_open(SHMEM_IPCCOMMS_NAME, SHMEM_IPCCOMMS_SIZE_MB);
if ( g_shmipc_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
SHMEM_IPCCOMMS_NAME, SHMEM_IPCCOMMS_SIZE_MB, g_shmipc_shm_handle );
return -1;
}
......@@ -112,7 +112,7 @@ attach_shared_memory( const char* sysname )
g_io_shm_handle = shmem_open("virtual_io_space", DEFAULT_SHMEM_ALLOC_SIZE_MB);
if ( g_io_shm_handle == NULL )
{
printl( "shmem_open(%s, %d) failed; ret = %d\n",
printl( "shmem_open(%s, %d) failed; ret = %p\n",
"virtual_io_space", DEFAULT_SHMEM_ALLOC_SIZE_MB, g_io_shm_handle );
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment