Skip to content

Commit

Permalink
tools/syscount: Beautify output of syscall list
Browse files Browse the repository at this point in the history
  • Loading branch information
xingfeng2510 committed Jun 21, 2022
1 parent dbb7b83 commit 10e3cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/syscount.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def handle_errno(errstr):

if args.list:
for grp in izip_longest(*(iter(sorted(syscalls.values())),) * 4):
print(" ".join(["%-20s" % s for s in grp if s is not None]))
print(" ".join(["%-22s" % s.decode() for s in grp if s is not None]))
sys.exit(0)

text = """
Expand Down

0 comments on commit 10e3cd4

Please sign in to comment.