Skip to content

Commit

Permalink
migtd: add missing \n for log
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaqi Gao <[email protected]>
  • Loading branch information
gaojiaqi7 committed Apr 11, 2024
1 parent c09df0c commit 813cb73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/migtd/src/bin/migtd/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn runtime_main() {
}

fn basic_info() {
info!("MigTD Version - {}", MIGTD_VERSION);
info!("MigTD Version - {}\n", MIGTD_VERSION);
}

#[cfg(feature = "test_disable_ra_and_accept_all")]
Expand Down Expand Up @@ -92,7 +92,7 @@ fn handle_pre_mig() {
panic!("Migration is not supported by VMM");
}
// Loop to wait for request
info!("Loop to wait for request");
info!("Loop to wait for request\n");
loop {
let mut session = MigrationSession::new();
if session.wait_for_request().is_ok() {
Expand Down
4 changes: 2 additions & 2 deletions src/migtd/src/ratls/server_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ fn verify_peer_cert(
);

if let Err(e) = &policy_check_result {
error!("Policy check failed, below is the detail information:");
error!("{:x?}", e);
error!("Policy check failed, below is the detail information:\n");
error!("{:x?}\n", e);
}

return policy_check_result.map_err(|e| match e {
Expand Down

0 comments on commit 813cb73

Please sign in to comment.