diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-08 12:10:05 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-08 12:10:05 -0200 |
commit | 5120c62047cce38e18b83e4896861045608fc44d (patch) | |
tree | 020657a0a73580a81624d6a182aa96743fd14d94 /contrib/sn9c201/parse_sn9c201.pl | |
parent | f5435ee2d6d8b889f5bbda36b39a6f5cd3d139d8 (diff) |
parse_sn9c201.pl: Provide a better output format
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'contrib/sn9c201/parse_sn9c201.pl')
-rwxr-xr-x | contrib/sn9c201/parse_sn9c201.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sn9c201/parse_sn9c201.pl b/contrib/sn9c201/parse_sn9c201.pl index e82c3739..8f889d1b 100755 --- a/contrib/sn9c201/parse_sn9c201.pl +++ b/contrib/sn9c201/parse_sn9c201.pl @@ -142,7 +142,7 @@ while (<>) { $tmp =~ s/\s+.*//; $payload =~ s/^([0-9a-f].)//; $payload =~ s/^\s+//; - $data .= "$tmp, "; + $data .= "0x$tmp, "; } $data =~ s/\,\s+$//; @@ -152,7 +152,7 @@ while (<>) { $tmp =~ s/\s+.*//; $payload =~ s/^([0-9a-f].)//; $payload =~ s/^\s+//; - $discard .= "$tmp, "; + $discard .= "0x$tmp, "; } $discard =~ s/\,\s+$//; |