mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
shm: we don't really handle SHM failures, so just abort()
This commit is contained in:
parent
cf5da1039f
commit
8a6cfb738b
1 changed files with 2 additions and 0 deletions
2
shm.c
2
shm.c
|
|
@ -202,6 +202,8 @@ err:
|
|||
if (mmapped != MAP_FAILED)
|
||||
munmap(mmapped, size);
|
||||
|
||||
/* We don't handle this */
|
||||
abort();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue