Use the common utility function, which contains checks on return values and first calls F_GETFD as recommended by POSIX.1-2001, instead of manually calling fcntl. CID: 1374831 Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> CC: anthony.perard@citrix.com CC: groug@kaod.org CC: aneesh.kumar@linux.vnet.ibm.com CC: Eric Blake <eblake@redhat.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
trace-events | ||
xen-common.c | ||
xen-host-pci-device.c | ||
xen-host-pci-device.h | ||
xen_backend.c | ||
xen_devconfig.c | ||
xen_pt.c | ||
xen_pt.h | ||
xen_pt_config_init.c | ||
xen_pt_graphics.c | ||
xen_pt_msi.c | ||
xen_pvdev.c |