Changed shmget error message.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1085 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
7e926c5ac1
commit
5f7b1d7575
|
@ -202,7 +202,7 @@ void Monitor::Setup()
|
|||
shmid = shmget( (int)config.Item( ZM_SHM_KEY )|id, shared_data_size, IPC_CREAT|0700 );
|
||||
if ( shmid < 0 )
|
||||
{
|
||||
Error(( "Can't shmget: %s", strerror(errno)));
|
||||
Error(( "Can't shmget, probably not enough shared memory space free: %s", strerror(errno)));
|
||||
exit( -1 );
|
||||
}
|
||||
unsigned char *shm_ptr = (unsigned char *)shmat( shmid, 0, 0 );
|
||||
|
|
Loading…
Reference in New Issue