aboutsummaryrefslogtreecommitdiff
path: root/samples/client.c
diff options
context:
space:
mode:
authorswapnili <swapnil.ingle@nutanix.com>2020-11-24 21:55:47 +0100
committerGitHub <noreply@github.com>2020-11-24 21:55:47 +0100
commit5429a84fe3b7def278ad1df6819d2ad7467ee5b0 (patch)
treee2f7be049a096eae9a16bf84d13f9dc1a62b8cd6 /samples/client.c
parentd33f124c5b0335c0525187e820c6b42be0bae743 (diff)
downloadlibvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.zip
libvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.tar.gz
libvfio-user-5429a84fe3b7def278ad1df6819d2ad7467ee5b0.tar.bz2
Api refactoring (#115)
API refactoring
Diffstat (limited to 'samples/client.c')
-rw-r--r--samples/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/client.c b/samples/client.c
index 91ce8a0..fa8e040 100644
--- a/samples/client.c
+++ b/samples/client.c
@@ -50,11 +50,11 @@
#define CLIENT_MAX_FDS (32)
static char *irq_to_str[] = {
- [LM_DEV_INTX_IRQ_IDX] = "INTx",
- [LM_DEV_MSI_IRQ_IDX] = "MSI",
- [LM_DEV_MSIX_IRQ_IDX] = "MSI-X",
- [LM_DEV_ERR_IRQ_INDEX] = "ERR",
- [LM_DEV_REQ_IRQ_INDEX] = "REQ"
+ [LM_DEV_INTX_IRQ] = "INTx",
+ [LM_DEV_MSI_IRQ] = "MSI",
+ [LM_DEV_MSIX_IRQ] = "MSI-X",
+ [LM_DEV_ERR_IRQ] = "ERR",
+ [LM_DEV_REQ_IRQ] = "REQ"
};
void