summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-11-17 23:20:41 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2016-11-17 23:20:41 (GMT)
commit2abd7ac27970a28b33e9fc887fc4ee6adb553166 (patch)
treee77df0367b27e6aca52bd71c9f37cff1bfc8af0a
parentbf2129eefefe34826059844fcb22976e2f7c7b65 (diff)
downloadabc80-2abd7ac27970a28b33e9fc887fc4ee6adb553166.zip
abc80-2abd7ac27970a28b33e9fc887fc4ee6adb553166.tar.gz
abc80-2abd7ac27970a28b33e9fc887fc4ee6adb553166.tar.bz2
abc80-2abd7ac27970a28b33e9fc887fc4ee6adb553166.tar.xz
revrom: move the text string to offset 128
Move the text string to offset 128, so we get more space to encode binary information should it be necessary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--data/revrom.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/revrom.pl b/data/revrom.pl
index 0c6b38f..3413a6f 100644
--- a/data/revrom.pl
+++ b/data/revrom.pl
@@ -27,7 +27,7 @@ my $rs;
($rs = $s) =~ s/\n/\r\n/g;
my @sb = (int($year / 100), $year % 100, $mon, $now[3],
$now[2], $now[1], $now[0]);
-push(@sb, (0) x (16 - scalar(@sb))); # Reserved
+push(@sb, (0) x (128 - scalar(@sb))); # Reserved
push(@sb, unpack("C*", $rs));
push(@sb, (0) x ($depth - scalar(@sb)));