Skip to content
Commit 7aa8e2f5 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by David Leach
Browse files

drivers: nsos: fix ENOMEM return from ZFD_IOCTL_POLL_PREPARE



ioctl() API expects error codes to be returned as negative value directly,
instead of using 'errno'. Fix ZFD_IOCTL_POLL_PREPARE handling to respect
that.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent ea13a702
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment