Skip to content

Commit

Permalink
Update error
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn committed Jun 18, 2024
1 parent eea31f5 commit 7c85931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/elfparser/elf.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (b *bpfSDKClient) LoadBpfFile(path, customizedPinPath string) (map[string]B

bpfFile, err := os.Open(path)
if err != nil {
log.Infof("LoadBpfFile failed to open")
log.Errorf("LoadBpfFile failed to open")
return nil, nil, err
}
defer bpfFile.Close()
Expand All @@ -157,7 +157,7 @@ func (b *bpfSDKClient) LoadBpfFileWithCustomData(inputData BpfCustomData) (map[s

bpfFile, err := os.Open(inputData.FilePath)
if err != nil {
log.Infof("LoadBpfFile failed to open")
log.Errorf("LoadBpfFileWithCustomData failed to open")
return nil, nil, err
}
defer bpfFile.Close()
Expand Down

0 comments on commit 7c85931

Please sign in to comment.