mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-03 10:04:36 +00:00
[errdb] Strip platform error code for non-platform-generated errors
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
d90fc3156c
commit
de1fafd2f8
@ -73,6 +73,7 @@ my $xrefs = {};
|
||||
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} ||= {};
|
||||
|
Loading…
Reference in New Issue
Block a user