mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 14:41:23 +00:00
console: fix wording for CouldNotInitBackend error
Human readable text for this error variant was copied from
CouldNotCreateBackend, so adjust it for its own purpose.
Fixes: c739770 ("vhost-device-console: use worker's epoll for input events")
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
d74eeb4e1a
commit
ab9a8af504
@ -28,7 +28,7 @@ pub(crate) enum Error {
|
||||
SocketCountInvalid(usize),
|
||||
#[error("Could not create console backend: {0}")]
|
||||
CouldNotCreateBackend(crate::vhu_console::Error),
|
||||
#[error("Could not create console backend: {0}")]
|
||||
#[error("Could not initialize console backend: {0}")]
|
||||
CouldNotInitBackend(crate::vhu_console::Error),
|
||||
#[error("Could not create daemon: {0}")]
|
||||
CouldNotCreateDaemon(vhost_user_backend::Error),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user