hypervisor: Fix a typo in error message

Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
Jinank Jain 2022-10-16 08:29:03 +00:00 committed by Liu Wei
parent 6e6b519a74
commit 7a68689794

View File

@ -48,12 +48,12 @@ pub enum HypervisorCpuError {
///
/// Setting floating point registers error
///
#[error("Failed to set special register: {0}")]
#[error("Failed to set floating point registers: {0}")]
SetFloatingPointRegs(#[source] anyhow::Error),
///
/// Getting floating point register error
///
#[error("Failed to get special register: {0}")]
#[error("Failed to get floating points registers: {0}")]
GetFloatingPointRegs(#[source] anyhow::Error),
///
/// Setting Cpuid error