summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_file.c
diff options
context:
space:
mode:
authorMichael Brown2013-03-20 16:25:16 +0100
committerMichael Brown2013-03-20 16:25:16 +0100
commit1920aa43764981597da57616cdb75c040d730712 (patch)
tree51e112a4bd77c304a6cbd5747d1a814ebd6cbb52 /src/interface/efi/efi_file.c
parent[uuid] Abstract UUID mangling code out to a separate uuid_mangle() function (diff)
downloadipxe-1920aa43764981597da57616cdb75c040d730712.tar.gz
ipxe-1920aa43764981597da57616cdb75c040d730712.tar.xz
ipxe-1920aa43764981597da57616cdb75c040d730712.zip
[efi] Provide efi_guid_ntoa() for printing EFI GUIDs
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_file.c')
-rw-r--r--src/interface/efi/efi_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interface/efi/efi_file.c b/src/interface/efi/efi_file.c
index ffe25fd6..6f9d44f8 100644
--- a/src/interface/efi/efi_file.c
+++ b/src/interface/efi/efi_file.c
@@ -414,8 +414,7 @@ static EFI_STATUS EFIAPI efi_file_get_info ( EFI_FILE_PROTOCOL *this,
} else {
DBGC ( file, "EFIFILE %s cannot get information of type %s\n",
- efi_file_name ( file ),
- uuid_ntoa ( ( union uuid * ) type ) );
+ efi_file_name ( file ), efi_guid_ntoa ( type ) );
return EFI_UNSUPPORTED;
}
}
@@ -435,7 +434,7 @@ efi_file_set_info ( EFI_FILE_PROTOCOL *this, EFI_GUID *type,
struct efi_file *file = container_of ( this, struct efi_file, file );
DBGC ( file, "EFIFILE %s cannot set information of type %s\n",
- efi_file_name ( file ), uuid_ntoa ( ( union uuid * ) type ) );
+ efi_file_name ( file ), efi_guid_ntoa ( type ) );
return EFI_WRITE_PROTECTED;
}