shm: we don't really handle SHM failures, so just abort()

This commit is contained in:
Daniel Eklöf 2020-03-10 18:02:10 +01:00
parent cf5da1039f
commit 8a6cfb738b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
shm.c
View file

@ -202,6 +202,8 @@ err:
if (mmapped != MAP_FAILED)
munmap(mmapped, size);
/* We don't handle this */
abort();
return NULL;
}