Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/stored/butil.cc')
-rw-r--r--core/src/stored/butil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/stored/butil.cc b/core/src/stored/butil.cc
index feb6215e6..d8bea286a 100644
--- a/core/src/stored/butil.cc
+++ b/core/src/stored/butil.cc
@@ -73,7 +73,7 @@ JobControlRecord* SetupDummyJcr(const char* name,
jcr->JobId = 0;
jcr->setJobType(JT_CONSOLE);
jcr->setJobLevel(L_FULL);
- jcr->JobStatus = JS_Terminated;
+ jcr->setJobStatus(JS_Terminated);
jcr->where = strdup("");
jcr->impl->job_name = GetPoolMemory(PM_FNAME);
PmStrcpy(jcr->impl->job_name, "Dummy.Job.Name");