From: Kern Sibbald Date: Fri, 26 Feb 2010 12:39:26 +0000 (+0100) Subject: Pass jcr to VSS class + minor clean up of VSS code X-Git-Tag: Release-7.0.0~2133 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9afaa5b6ce41023747b4b86a8a3e6543f3b952e4;p=bacula%2Fbacula Pass jcr to VSS class + minor clean up of VSS code --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index cf42130fa5..b7671bf18e 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1584,7 +1584,7 @@ static int backup_cmd(JCR *jcr) #if defined(WIN32_VSS) /* START VSS ON WIN32 */ if (jcr->VSS) { - if (g_pVSSClient->InitializeForBackup()) { + if (g_pVSSClient->InitializeForBackup(jcr)) { /* tell vss which drives to snapshot */ char szWinDriveLetters[27]; if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) {