Skip to content

Commit 84c9cee

Browse files
dotcarmenlinusg
authored andcommitted
fix review
1 parent 65c9436 commit 84c9cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/os/uefi/protocol/file.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub const File = extern struct {
239239
self: *const File,
240240
comptime info: std.meta.Tag(Info),
241241
buffer: []u8,
242-
) GetInfoError!struct { usize, @FieldType(Info, @tagName(info)) } {
242+
) GetInfoError!*@FieldType(Info, @tagName(info)) {
243243
const InfoType = @FieldType(Info, @tagName(info));
244244

245245
var len = buffer.len;
@@ -268,7 +268,7 @@ pub const File = extern struct {
268268

269269
const attached_str: [*:0]const u16 = switch (info) {
270270
.file => data.getFileName(),
271-
inline .file_system, .volume_label => data.getVolumeLabel(),
271+
.file_system, .volume_label => data.getVolumeLabel(),
272272
};
273273
const attached_str_len = std.mem.sliceTo(attached_str, 0).len;
274274

0 commit comments

Comments
 (0)