authorgravatar for robotbrainify@gmail.comKhitiara <robotbrainify@gmail.com> 2026-01-08 12:47:43-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-09 02:42:22+01:00
loge8af0f2cc017f44a01f70b25a1a81892d2374794
treebf1f4b2408a1e9f74722963dc75b93d6374aee8c
parent7f6eab270493592d4c3e5788dfcb34fdbca80539

Fix format on uefi guid type, was hitting unreachable


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/uefi.zig+1-1
...@@ -111,7 +111,7 @@ pub const Guid = extern struct {...@@ -111,7 +111,7 @@ pub const Guid = extern struct {
111 const time_mid = @byteSwap(self.time_mid);111 const time_mid = @byteSwap(self.time_mid);
112 const time_high_and_version = @byteSwap(self.time_high_and_version);112 const time_high_and_version = @byteSwap(self.time_high_and_version);
113113
114 return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", .{114 return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x}", .{
115 std.mem.asBytes(&time_low),115 std.mem.asBytes(&time_low),
116 std.mem.asBytes(&time_mid),116 std.mem.asBytes(&time_mid),
117 std.mem.asBytes(&time_high_and_version),117 std.mem.asBytes(&time_high_and_version),