Skip to content

Commit

Permalink
bginfo fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Maslowski <[email protected]>
  • Loading branch information
orangecms committed Sep 22, 2024
1 parent 546b561 commit e5012df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmds/bginfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ func main() {

acbpMagic := []byte("__ACBP__")
// __IBBS__ also seen in the next 16 bytes; not sure what that is
offset := bytes.Index(data, ACBPMagic)
offset := bytes.Index(data, acbpMagic)
if offset == -1 {
log.Fatalf("no %v (%x) magic found", string(ACBPMagic), ACBPMagic)
log.Fatalf("no %v (%x) magic found", string(acbpMagic), acbpMagic)
}

m := bgbootpolicy.Manifest{}
Expand Down

0 comments on commit e5012df

Please sign in to comment.