[PATCH libevdev 1/9] Use ENOMEM instead of ENOSPC

Benjamin Tissoires benjamin.tissoires at gmail.com
Mon Sep 9 07:46:20 PDT 2013

On Tue, Sep 3, 2013 at 9:07 AM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> From errno(3):
>    ENOMEM          Not enough space (POSIX.1)
>    ENOSPC          No space left on device (POSIX.1)
> when we run out memory the reason is a failed malloc, for which ENOMEM
> seems more appropriate.
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---

Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>

More information about the Input-tools mailing list