Skip to content

Commit

Permalink
Fix print indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yanivagman committed Aug 5, 2020
1 parent 077916a commit 4795a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracee/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (p tableEventPrinter) Print(event Event) {
if p.containerMode {
fmt.Fprintf(p.out, "%-14f %-6d %-16s %-7d/%-7d %-7d/%-7d %-16d %-20s ", event.Timestamp, event.UserID, event.ProcessName, event.ProcessID, event.HostProcessID, event.ThreadID, event.HostThreadID, event.ReturnValue, event.EventName)
} else {
fmt.Fprintf(p.out, "%-14f %-6d %-16s %-7d %-7d% -16d %-20s ", event.Timestamp, event.UserID, event.ProcessName, event.ProcessID, event.ThreadID, event.ReturnValue, event.EventName)
fmt.Fprintf(p.out, "%-14f %-6d %-16s %-7d %-7d %-16d %-20s ", event.Timestamp, event.UserID, event.ProcessName, event.ProcessID, event.ThreadID, event.ReturnValue, event.EventName)
}
}
for i, arg := range event.Args {
Expand Down

0 comments on commit 4795a63

Please sign in to comment.