Skip to content

Commit

Permalink
Fix missing allocator in tboot-nixos-install
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur committed Jun 17, 2024
1 parent 99a6dd7 commit 4c2595a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tboot-nixos-install.zig
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn installGeneration(
continue;
}

const existing_entry = bls.EntryFilename.parse(entry.name) catch continue;
const existing_entry = bls.EntryFilename.parse(allocator, entry.name) catch continue;

if (std.mem.eql(u8, existing_entry.name, entry_name)) {
std.log.debug("entry {s} already installed", .{entry_name});
Expand Down

0 comments on commit 4c2595a

Please sign in to comment.