mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04: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)
|
if (mmapped != MAP_FAILED)
|
||||||
munmap(mmapped, size);
|
munmap(mmapped, size);
|
||||||
|
|
||||||
|
/* We don't handle this */
|
||||||
|
abort();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue