Skip to content
Commit dd3de932 authored by David Matlack's avatar David Matlack Committed by Radim Krčmář
Browse files

x86: fix "format not a string literal" errors



Fix the following two compilation errors:

x86/msr.c: In function ‘test_msr_rw’:
x86/msr.c:94:5: error: format not a string literal and no format arguments [-Werror=format-security]
     report(sptr, expected == r);
          ^

x8e/vmx.c: In function ‘test_vmx_caps’:
x86/vmx.c:1412:3: error: format not a string literal and no format arguments [-Werror=format-security]
   report(vmx_ctl_msr[n].name, ok);
      ^

Signed-off-by: default avatarDavid Matlack <dmatlack@google.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 49f758b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment