mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-25 17:31:16 +00:00
bin: vhost_user_fs use error! macro logging for consistency
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
710394b872
commit
99cb8dc0a4
@ -230,17 +230,17 @@ fn main() {
|
|||||||
epoll::Events::EPOLLIN,
|
epoll::Events::EPOLLIN,
|
||||||
u64::from(KILL_EVENT),
|
u64::from(KILL_EVENT),
|
||||||
) {
|
) {
|
||||||
println!("Failed to register listener for kill event: {:?}", e);
|
error!("Failed to register listener for kill event: {:?}", e);
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(e) = daemon.start() {
|
if let Err(e) = daemon.start() {
|
||||||
println!("Failed to start daemon: {:?}", e);
|
error!("Failed to start daemon: {:?}", e);
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(e) = daemon.wait() {
|
if let Err(e) = daemon.wait() {
|
||||||
println!("Waiting for daemon failed: {:?}", e);
|
error!("Waiting for daemon failed: {:?}", e);
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user