diff --git a/prog/eeprom/decode-dimms.pl b/prog/eeprom/decode-dimms.pl
index f630f29a..3eb13d95 100755
--- a/prog/eeprom/decode-dimms.pl
+++ b/prog/eeprom/decode-dimms.pl
@@ -404,16 +404,20 @@ sub prints ($) # print seperator w/ given text
}
}
-sub printh ($) # print header w/ given text
+sub printh ($$) # print header w/ given text
{
- my ($label) = @_;
+ my ($header, $sub) = @_;
if ($opt_html) {
- $label =~ s/\</sg;
- $label =~ s/>/\>/sg;
- $label =~ s/\n/
\n/sg;
- print "
$sub
\n"; } else { - print "\n$label\n"; + print "\n$header\n$sub\n"; } } @@ -1066,8 +1070,8 @@ if ($opt_body) "\n"; } -printh 'PC DIMM Serial Presence Detect Tester/Decoder -By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner, +printh 'Memory Serial Presence Detect Decoder', +'By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner, Jean Delvare and others Version 2.10.1';