diff options
author | Michael Brown | 2013-04-29 16:36:32 +0200 |
---|---|---|
committer | Michael Brown | 2013-04-29 16:36:32 +0200 |
commit | de1fafd2f80dc9b08304cf5b66d281ef6771b1f9 (patch) | |
tree | c91af27e371ed5764d923e63624e2b0230d80ec7 /contrib | |
parent | [realtek] Use ID word to detect EEPROM presence (diff) | |
download | ipxe-de1fafd2f80dc9b08304cf5b66d281ef6771b1f9.tar.gz ipxe-de1fafd2f80dc9b08304cf5b66d281ef6771b1f9.tar.xz ipxe-de1fafd2f80dc9b08304cf5b66d281ef6771b1f9.zip |
[errdb] Strip platform error code for non-platform-generated errors
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/errdb/errdb.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/errdb/errdb.pl b/contrib/errdb/errdb.pl index fc1919f6..6423d834 100755 --- a/contrib/errdb/errdb.pl +++ b/contrib/errdb/errdb.pl @@ -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} ||= {}; |