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:
parent
50b33db718
commit
072f06ff4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue