Adam Jackson <a...@redhat.com> writes:

> Modern glibc is very insistent that you care about whether write()
> succeeds:
>
> ../hw/dmx/input/usb-keyboard.c: In function ‘kbdUSBCtrl’:
> ../hw/dmx/input/usb-keyboard.c:292:9: warning: ignoring return value of 
> ‘write’, declared with attribute warn_unused_result [-Wunused-result]
>          write(priv->fd, &event, sizeof(event));
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Adam Jackson <a...@redhat.com>

Reviewed-by: Keith Packard <kei...@keithp.com>

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to