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:
Manos Pitsidianakis 2024-11-11 06:16:39 +02:00 committed by Manos Pitsidianakis
parent ab9a8af504
commit c7d4bf6f63

View File

@ -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| {