Skip to content

Commit

Permalink
Enable python3 compatible strings in biosnoop
Browse files Browse the repository at this point in the history
Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed Mar 8, 2016
1 parent afc1180 commit aa85f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/biosnoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def print_event(cpu, data, size):
if event.rwflag == 0:
rwflg = "R"

if not re.match('\?', event.name):
if not re.match(b'\?', event.name):
val = event.sector

if start_ts == 0:
Expand Down

0 comments on commit aa85f33

Please sign in to comment.