aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine/console_socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qemu/machine/console_socket.py')
-rw-r--r--python/qemu/machine/console_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/machine/console_socket.py b/python/qemu/machine/console_socket.py
index 8c4ff59..4e28ba9 100644
--- a/python/qemu/machine/console_socket.py
+++ b/python/qemu/machine/console_socket.py
@@ -68,7 +68,7 @@ class ConsoleSocket(socket.socket):
"""Kick off a thread to drain the socket."""
# Configure socket to not block and timeout.
# This allows our drain thread to not block
- # on recieve and exit smoothly.
+ # on receive and exit smoothly.
socket.socket.setblocking(self, False)
socket.socket.settimeout(self, 1)
drain_thread = threading.Thread(target=self._drain_fn)