zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e8af0f2cc017f44a01f70b25a1a81892d2374794 (tree)
parent 7f6eab270493592d4c3e5788dfcb34fdbca80539
Author: Khitiara <robotbrainify@gmail.com>
Date:   Thu,  8 Jan 2026 12:47:43 -0500

Fix format on uefi guid type, was hitting unreachable

Diffstat:
Mlib/std/os/uefi.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/os/uefi.zig b/lib/std/os/uefi.zig @@ -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),