| 902 | } |
| 903 | |
| 904 | void *xmmap(void *start, size_t length, |
| 905 | int prot, int flags, int fd, off_t offset) |
| 906 | { |
| 907 | void *ret = xmmap_gently(start, length, prot, flags, fd, offset); |
| 908 | if (ret == MAP_FAILED) |
| 909 | die_errno(_("mmap failed%s"), mmap_os_err()); |
| 910 | return ret; |
| 911 | } |
no test coverage detected