Skip to content

Commit

Permalink
[errdb] Strip platform error code for non-platform-generated errors
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Apr 29, 2013
1 parent d90fc31 commit de1fafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/errdb/errdb.pl
Expand Up @@ -73,6 +73,7 @@ =head1 SYNOPSIS
while ( <> ) {
chomp;
( my $errno, my $filename, my $line, my $description ) = split ( /\t/ );
$errno = substr ( $errno, 0, 6 ) unless $errno =~ /^7f/;
$errors->{$errno} = $description;
$xrefs->{$errno} ||= {};
$xrefs->{$errno}->{$filename} ||= {};
Expand Down

0 comments on commit de1fafd

Please sign in to comment.