diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.fix-x-of-y-strings e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar --- e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.fix-x-of-y-strings 2011-03-14 11:53:51.000000000 +0100 +++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2011-03-14 12:40:15.000000000 +0100 @@ -211,14 +211,14 @@ if ($incnum == 0) $setnum %= $setsmax; } -$report .= "Using set number $setnum of $setsmax\n"; +$report .= sprintf("Using set number %d of %d\n", $setnum + 1, $setsmax); if ($incnum == 0) { $report .= "Attempt full backup \n"; } else { - $report .= "Attempt incremental backup number $incnum of $daysinset\n"; + $report .= sprintf("Attempt incremental backup number %d of %d\n", $incnum, $daysinset - 1); } # if no set directory, make it