mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +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,
|
||||
IPC_CREAT | 0666);
|
||||
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;
|
||||
}
|
||||
// delete existing one
|
||||
|
Loading…
x
Reference in New Issue
Block a user