Added some debug about the shared memory size.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@462 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-04-10 22:42:26 +00:00
parent 6d9eafc4eb
commit 1318127ba6
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ Monitor::Monitor( int p_id, char *p_name, int p_function, int p_device, int p_ch
state = IDLE;
int shared_images_size = sizeof(SharedImages)+(image_buffer_count*sizeof(time_t))+(image_buffer_count*camera->ImageSize());
Info(( "shm.size=%d", shared_images_size ));
shmid = shmget( ZM_SHM_KEY|id, shared_images_size, IPC_CREAT|0777 );
if ( shmid < 0 )
{