mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-17 16:30:02 +01:00
virtual memory error verbosity
This commit is contained in:
1 parent
ae9499047b
commit
c6921bf954
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user