[PATCH weston] clients: fix errno handling
Emilio Pozuelo Monfort
pochu27 at gmail.com
Thu Jan 19 09:31:19 UTC 2017
On 18/01/17 23:58, Emilio Pozuelo Monfort wrote:
> On 18/01/17 23:21, Peter Hutterer wrote:
>> clients/editor.c: In function ‘read_file’:
>> clients/editor.c:1578:16: warning: logical ‘or’ applied to non-boolean
>> constant [-Wlogical-op]
>> errno = errsv || EINVAL;
>>
>> This works in the shell, but not in C. Introduced in 411ffabbb56b
>>
>> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
>> ---
>> Changes to v1:
>> - first version didn't return the right errno, whoops :)
>
> S-o-b me.
Of course I meant r-b...
Reviewed-by: Emilio Pozuelo Monfort <pochu at debian.org>
Emilio
More information about the wayland-devel
mailing list