Fix format on uefi guid type, was hitting unreachable

This commit is contained in:
Khitiara 2026-01-08 12:47:43 -05:00 committed by Andrew Kelley
parent 7f6eab2704
commit e8af0f2cc0

View file

@ -111,7 +111,7 @@ pub const Guid = extern struct {
const time_mid = @byteSwap(self.time_mid);
const time_high_and_version = @byteSwap(self.time_high_and_version);
return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", .{
return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x}", .{
std.mem.asBytes(&time_low),
std.mem.asBytes(&time_mid),
std.mem.asBytes(&time_high_and_version),