diff options
author | John Levon <john.levon@nutanix.com> | 2021-04-14 13:14:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 13:14:13 +0100 |
commit | 2e50c5667ce8724b0b7963255d3016efbb1f568a (patch) | |
tree | 9df7b544d28eafb18be94e03a43a66a347c41ffb /lib/dma.h | |
parent | 29dbda6cfcbd4093103f5c032b69ecf109b1eccb (diff) | |
download | libvfio-user-2e50c5667ce8724b0b7963255d3016efbb1f568a.zip libvfio-user-2e50c5667ce8724b0b7963255d3016efbb1f568a.tar.gz libvfio-user-2e50c5667ce8724b0b7963255d3016efbb1f568a.tar.bz2 |
libvfio-user.c: use ERROR_INT() (#433)
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/dma.h')
-rw-r--r-- | lib/dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ dma_controller_destroy(dma_controller_t *dma); /* Registers a new memory region. * Returns: * - On success, a non-negative region number - * - On failure, -errno. + * - On failure, -1 with errno set. */ MOCK_DECLARE(int, dma_controller_add_region, dma_controller_t *dma, vfu_dma_addr_t dma_addr, size_t size, int fd, off_t offset, |