On Wed, Nov 27, 2019 at 1:55 AM Maciej Żenczykowski <zenczykowski@xxxxxxxxx> wrote: > We return ENOMEDIUM 'No medium found', because it's the best error > I could come up with to describe the situation. EFAULT for bitmap == NULL and EINVAL for bitmap_len == 0?