aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-06-13 14:36:53 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-06-13 15:45:38 +0200
commit0c335d751a21d6b46bd78dd1118860e84021984b (patch)
tree9ab3b46d9d9351fee3cd05fdcf6e155123681e10 /passt.c
parent377b666dc960d4e7faff3f2d17f7e83f2d8f7f10 (diff)
downloadpasst-0c335d751a21d6b46bd78dd1118860e84021984b.tar
passt-0c335d751a21d6b46bd78dd1118860e84021984b.tar.gz
passt-0c335d751a21d6b46bd78dd1118860e84021984b.tar.bz2
passt-0c335d751a21d6b46bd78dd1118860e84021984b.tar.lz
passt-0c335d751a21d6b46bd78dd1118860e84021984b.tar.xz
passt-0c335d751a21d6b46bd78dd1118860e84021984b.tar.zst
passt-0c335d751a21d6b46bd78dd1118860e84021984b.zip
vhost-user: compare mode MODE_PASTA and not MODE_PASST
As we are going to introduce the MODE_VU that will act like the mode MODE_PASST, compare to MODE_PASTA rather than to add a comparison to MODE_VU when we check for MODE_PASST. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index e747225..a5e2c5a 100644
--- a/passt.c
+++ b/passt.c
@@ -333,7 +333,7 @@ loop:
uint32_t eventmask = events[i].events;
trace("%s: epoll event on %s %i (events: 0x%08x)",
- c.mode == MODE_PASST ? "passt" : "pasta",
+ c.mode == MODE_PASTA ? "pasta" : "passt",
EPOLL_TYPE_STR(ref.type), ref.fd, eventmask);
switch (ref.type) {