should this be 

```
syslog(LOG_ERR, "shmctl IPC_RMID failed [%d, %m]", errno, errno);
```