Skip to content

Commit

Permalink
user : fix println call has possible formatting directive %s
Browse files Browse the repository at this point in the history
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
  • Loading branch information
cfc4n committed Aug 1, 2022
1 parent cb4b8f2 commit ffdf9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/imodule.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (this *Module) ringbufEventReader(errChan chan error, em *ebpf.Map) {
record, err := rd.Read()
if err != nil {
if errors.Is(err, ringbuf.ErrClosed) {
this.logger.Println("%s\tReceived signal, exiting..", this.child.Name())
this.logger.Printf("%s\tReceived signal, exiting..", this.child.Name())
return
}
errChan <- fmt.Errorf("%s\treading from ringbuf reader: %s", this.child.Name(), err)
Expand Down

0 comments on commit ffdf9c6

Please sign in to comment.