misc: vhost_user_net: replace eprintln with log::error

Other lines are already logged using `log::error!` and
`env_logger` is initialized before calling
`start_net_backend` in `main()`.

Signed-off-by: Maximilian Güntner <code@mguentner.de>
This commit is contained in:
Maximilian Güntner 2025-07-08 22:36:55 +02:00 committed by Bo Chen
parent 50b33db718
commit 072f06ff4c

View file

@ -348,7 +348,7 @@ pub fn start_net_backend(backend_command: &str) {
let backend_config = match VhostUserNetBackendConfig::parse(backend_command) {
Ok(config) => config,
Err(e) => {
eprintln!("Failed parsing parameters {e:?}");
error!("Failed parsing parameters {e:?}");
process::exit(1);
}
};