Fix typo in restore.pl.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 30 Jul 2008 20:06:54 +0000 (13:06 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Wed, 30 Jul 2008 20:06:54 +0000 (13:06 -0700)
contrib/restore.pl

index 0af9dea..40ac469 100755 (executable)
@@ -130,7 +130,7 @@ sub load_ref {
                 if $object_size != $1;
             ($start, $length) = (0, $1 + 0);
         } elsif ($range =~ m/^\[(\d+)\]$/) {
-            ($start, $length) = (0, $3 + 0);
+            ($start, $length) = (0, $1 + 0);
         } elsif ($range =~ m/^\[(\d+)\+(\d+)\]$/) {
             ($start, $length) = ($1 + 0, $2 + 0);
         } else {