Adam Jackson <[email protected]> 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 <[email protected]>
Reviewed-by: Keith Packard <[email protected]> -- -keith
signature.asc
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
