diff options
Diffstat (limited to 'app-backup/amanda/files/amanda-2.5.1_p3-displayunit.patch')
-rw-r--r-- | app-backup/amanda/files/amanda-2.5.1_p3-displayunit.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-backup/amanda/files/amanda-2.5.1_p3-displayunit.patch b/app-backup/amanda/files/amanda-2.5.1_p3-displayunit.patch new file mode 100644 index 000000000000..92c8fb5e6e2c --- /dev/null +++ b/app-backup/amanda/files/amanda-2.5.1_p3-displayunit.patch @@ -0,0 +1,17 @@ +diff -u -r --show-c-function --new-file --exclude-from=/home/martinea/src.orig/amanda.diff --ignore-matching-lines='$Id:' amanda-2.5.1p3.new/server-src/amstatus.pl.in amanda-2.5.1p3.new.amstatus/server-src/amstatus.pl.in +--- amanda-2.5.1p3.new/server-src/amstatus.pl.in 2007-02-01 14:17:01.000000000 -0500 ++++ amanda-2.5.1p3.new.amstatus/server-src/amstatus.pl.in 2007-02-12 18:35:11.000000000 -0500 +@@ -763,9 +763,9 @@ while(<AMDUMP>) { + } + elsif(/splitting chunk that started at \d*kb after (\d*)kb/) { + $ntchunk{$nb_tape}++; +- $ntsize{$nb_tape} += $1; +- $ntesize{$nb_tape} += $1; +- $ntchunk_size += $1; ++ $ntsize{$nb_tape} += $1 / $unitdivisor; ++ $ntesize{$nb_tape} += $1 / $unitdivisor; ++ $ntchunk_size += $1 / $unitdivisor; + } + elsif(/driver: FINISHED/) { + $driver_finished = 1; +Binary files amanda-2.5.1p3.new/server-src/.amstatus.pl.in.swp and amanda-2.5.1p3.new.amstatus/server-src/.amstatus.pl.in.swp differ |