mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
virtual memory error verbosity
This commit is contained in:
parent
ae9499047b
commit
c6921bf954
@ -53,7 +53,7 @@ int sharedMemory_create(int port) {
|
|||||||
shmFd = shmget(SHM_KEY + port, MEM_SIZE,
|
shmFd = shmget(SHM_KEY + port, MEM_SIZE,
|
||||||
IPC_CREAT | 0666);
|
IPC_CREAT | 0666);
|
||||||
if (shmFd == -1) {
|
if (shmFd == -1) {
|
||||||
LOG(logERROR, ("Create shared memory failed: %s\n", strerror(errno)));
|
LOG(logERROR, ("c: open existing shared memory (to delete) failed: %s\n", strerror(errno)));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
// delete existing one
|
// delete existing one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user