mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 14:41:23 +00:00
console: remove extraneous newline from expect()
expect(), like panic!(), does not trailing need newlines. Remove them. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
ab9a8af504
commit
c7d4bf6f63
@ -110,7 +110,7 @@ pub(crate) fn start_backend_server(
|
||||
let vring_workers = daemon.get_epoll_handlers();
|
||||
vu_console_backend
|
||||
.read()
|
||||
.expect("Cannot open as write\n")
|
||||
.expect("Cannot unlock console backend with read-only access.")
|
||||
.set_vring_worker(vring_workers[0].clone());
|
||||
|
||||
daemon.serve(&socket).map_err(|e| {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user