From 9afaa5b6ce41023747b4b86a8a3e6543f3b952e4 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 26 Feb 2010 13:39:26 +0100 Subject: [PATCH] Pass jcr to VSS class + minor clean up of VSS code --- bacula/src/filed/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5