aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2013-03-05 12:05:33 +0000
committerJames Bottomley <JBottomley@Parallels.com>2013-03-05 12:05:33 +0000
commit9acbcab86f2f3a802e5eac3f27158ef6521e2c79 (patch)
treeaffb83ca2a7331efa196286bca684cf778be3063
parent804903d6ed2aa10b900f14f920042f74a1112f8d (diff)
downloadefitools-9acbcab86f2f3a802e5eac3f27158ef6521e2c79.tar.gz
UpdateVars: need %s not %d to print a filename
-rw-r--r--UpdateVars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UpdateVars.c b/UpdateVars.c
index 5cc713b..34bfcdb 100644
--- a/UpdateVars.c
+++ b/UpdateVars.c
@@ -106,7 +106,7 @@ efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
status = simple_file_open(image, name, &file, EFI_FILE_MODE_READ);
if (status != EFI_SUCCESS) {
- Print(L"Failed to open file %d\n", name);
+ Print(L"Failed to open file %s\n", name);
return status;
}